Commits on Source 7
-
Jeremy Elder authored
Update light and dark mode design tokens for both banner variants.
-
Mark Florian authored
The TokensTable story was rendering all tokens at once, which is over 1,000 rows. This had quite poor performance, and made interacting with the table unpleasant. This was worsened by the lack of debounce on the search field. This commit improves performance by: - debouncing on the search field, so re-renders aren't triggered on every key press; - paginating tokens, so they're not all rendered at once. It also improves the searching behaviour by using fuse.js to do fuzzy searching, rather than the basic filtering provided by GlTable: - searches are fuzzy, so exact substring matches are no longer required; - results are sorted by closeness to the query (see https://www.fusejs.io/concepts/scoring-theory.html); - only the name, value, description and deprecated fields are now searched, previously all were (see https://bootstrap-vue.org/docs/components/table#filtering); - the standard GlSearchBoxByType component is used for the search input, providing a search icon and clear button. Finally, this switches to a fixed table layout, which is generally faster for the browser to render, and makes sure the value column text wraps if needed.
-
🤖 GitLab Bot 🤖 authored
-
Paul Gascou-Vaillancourt authored
chore(deps): update dependency node to v22.13.1 See merge request !4945 Merged-by:
Paul Gascou-Vaillancourt <pgascouvaillancourt@gitlab.com> Approved-by:
Paul Gascou-Vaillancourt <pgascouvaillancourt@gitlab.com> Co-authored-by:
GitLab Renovate Bot <gitlab-bot@gitlab.com>
-
Scott de Jonge authored
chore(DesignTokens): Improve performance of TokensTable story See merge request !4942 Merged-by:
Scott de Jonge <sdejonge@gitlab.com> Approved-by:
Dan MH <dmizzi-harris@gitlab.com> Approved-by:
Scott de Jonge <sdejonge@gitlab.com> Reviewed-by:
Mark Florian <mflorian@gitlab.com> Reviewed-by:
Scott de Jonge <sdejonge@gitlab.com> Co-authored-by:
Mark Florian <mflorian@gitlab.com>
-
Scott de Jonge authored
feat(Banner): Increase border contrast Closes #3050 See merge request !4944 Merged-by:
Scott de Jonge <sdejonge@gitlab.com> Approved-by:
Scott de Jonge <sdejonge@gitlab.com> Approved-by:
Dan MH <dmizzi-harris@gitlab.com> Co-authored-by:
Jeremy Elder <jelder@gitlab.com>
-
semantic-release-bot authored
# [107.6.0](v107.5.0...v107.6.0) (2025-01-24) ### Features * **Banner:** Update border tokens ([0faf4bbb](0faf4bbb))