Repository navigation
fix(platform): show document sources and sync failures as icons - #3386
Merged
Merged
Conversation
The Source column spelled its source out, so "OneDrive (synchronisiert)" wrapped onto two lines and ran into RAG status, while a Google Drive row showed a bare logo that never said whether it synced. Each cell is now the vendor logo (an upload arrow for an upload, the connectors catalog's plug for WebDAV) trailed by a smaller glyph: circling arrows for a sync import, the same arrows struck through for a one-time import. The words stay as the tooltip and the accessible name; the new "(not synced)" labels ship in en, de and fr, and the documents guide explains the marks. A failed sync keeps its badge. The SharePoint mark drops its <title>, which doubled the tooltip.
A failed sync still replaced the source marks with a red text badge, and
the document preview kept its own map of three providers that printed the
internal slug for the rest ("google_drive", "agent", "knowledge").
A failed sync is now the vendor logo with a red warning sign (or an
unplugged plug when the account must be reconnected): a button named by
its dialog title whose tooltip says what is wrong, on hover and on focus.
The Source cell and the preview sidebar read one provenance map, which
also names agent files, knowledge entries and API imports in en, de and
fr; a REST caller's own provenance keeps its words. Docs and the manual
suite describe the marks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The Documents Source column spelled its source out, so German labels such as "OneDrive (synchronisiert)" wrapped onto two lines and ran into RAG status. Google Drive alone showed a bare logo that never said whether it synced, a failed sync was a wide red text badge, and the document preview kept its own map of three providers that printed the internal slug for everything else (
google_drive,agent,knowledge).role="img").useDocumentSourcefeeds both the Source cell and the preview sidebar, which now shows the mark plus the words instead of a raw slug.sourceTypelabels (not synced, agent, knowledge entry, API) in en/de/fr; the preview-only source keys are gone. The documents guide (EN/DE/FR) explains the marks;documents-list.webpretaken.KNOW-F16describes the failure mark, newKNOW-F19covers the column, with its pin and automation row.<title>that doubled the tooltip.Proof
use-document-source.test.tsxcovers every provenance;use-documents-table-config.test.tsxcovers names, glyphs, axe, the failure button's tooltip on focus and its dialog. The new cell tests fail against the old implementation.lint:manual,check-guide(knowledge suite) and the docs suite are green locally.