Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: update input components css to use bem styles and mixins #7180

Merged
merged 45 commits into from
Jan 24, 2025

Conversation

Makko74
Copy link
Contributor

@Makko74 Makko74 commented Dec 10, 2024

ref #7178

The A11y and PO reviews will only take place after all other DoD steps have been completed by the Developer:

  • Meaningful pull request title for the release notes
  • Pull request is linked to an issue and all changes relate to the issue
  • Tests to protect this code implemented (if applicable)
  • Manual test performed successfully (if applicable)
  • Documentation or migration has been updated (if applicable)

@deleonio deleonio added the v3 Here are issues that need to be resolved for version 3. label Dec 10, 2024
Copy link
Contributor

github-actions bot commented Dec 16, 2024

Base automatically changed from refactoring/7032-field-input-components to develop December 17, 2024 09:04
@Makko74 Makko74 linked an issue Dec 17, 2024 that may be closed by this pull request
@laske185
Copy link
Contributor

Inputs allgemein:
Sobald man in den Root klickt, wird das Element fokussiert. Das macht bei Textfeldern den Effekt, dass man an beliebiger Stelle in die Nähe klickt und dann den Fokus auf das Input setzt. Extrem ist es bei Checkboxen. Nervig aber auch bei Input-File, da dort ein Dialog aufgeht, nur weil man auf den Hint oder die Message geklickt hat.
image

Die Labels, Messages, Hints sind nicht mehr selektierbar, sodass man den Text kopieren kann.

Radio-Buttons:
Bei der Navigation mit Tab wird meistens das zweite Element fokussiert. Der Fokus bleibt dann auch immer auf diesem Element hängen. Wählt man einen anderen Eintrag mit den Pfeiltasten aus, bleibt der Fokus auf dem Element. Ab dann ist man nicht mehr in der Lage, mit den Pfeiltasten ein anderes Element auszuwählen.
Klickt man mit der Maus auf das erste Element, wird dieses ausgewählt, der Fokus aber sofort auf das zweite gesetzt.

TBD;

@laske185 laske185 marked this pull request as ready for review January 13, 2025 08:46
…ng/7178-convert-input-scss-to-bem

* 'develop' of github.com:public-ui/kolibri: (181 commits)
  Fix E2E test split button
  Fix handling of minus sign in number input
  Fix split-button test
  Update all snapshots$ $ Refs: #7036
  BEM Refactoring split-button
  chore: release 3.0.0-rc.2
  review changes
  removed media for -bottom
  test update
  refactor itz
  added pagination modifier
  Update all snapshots$ $ Refs: #7036
  update default theme
  test update
  review changes
  refactor bem for standart, ecl
  fixed sort
  fixed header align
  review changes
  Remove deprecated-annotations for ariaControls and ariaExpanded
  ...
@sdvg
Copy link
Member

sdvg commented Jan 14, 2025

@laske185 Das dürften beides Nebeneffekte von delegatedFocus sein, die ich so auch auf develop reproduzieren kann. Siehe auch: #6869 (comment)

@sdvg sdvg mentioned this pull request Jan 15, 2025
5 tasks
sdvg and others added 4 commits January 15, 2025 16:30
…ng/7178-convert-input-scss-to-bem

* 'develop' of github.com:public-ui/kolibri:
  Rename draft themes to "in progress"
  Remove theme itzbund
  Update kolibri.config
  Implement attribute migrations
  Remove debug information
  Fix typo
@sdvg
Copy link
Member

sdvg commented Jan 16, 2025

Es gibt folgende Abweichungen in den Snapshots, die ich als Verbesserungen oder irrelevant sehen und demnach beibehalten würde:

  • Allgemein:
    • Ornamente nehmen etwas mehr Platz ein durch Umstellung von Flex auf Grid
    • Hint-Texte werden wieder kursiv dargestellt
    • Messages sind wieder an der richteigen Position
  • Radio: Abstände leicht angepasst bzw. ungewollte Abstände durch UA-Styles auf Label entfernt und Zentrierung verbessert
  • Checkbox Button: Ecken wieder abgerundet, Layout-Fix bei langen Labels
  • Checkbox Switch: Indeterminate-State ist jetzt blau, analog zu den normalen Checkboxen

sdvg and others added 12 commits January 17, 2025 11:45
…ng/7178-convert-input-scss-to-bem

* 'develop' of github.com:public-ui/kolibri:
  Introduce new environment variable KOLIBRI_VISUAL_TESTS_EXPECT_TIMEOUT
…css-to-bem' into refactoring/7178-convert-input-scss-to-bem

* origin/refactoring/7178-convert-input-scss-to-bem:
  Update all snapshots$ $ Refs: #7178
Copy link
Contributor

@laske185 laske185 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bis jetzt nicht fertig. Aber schau mal nach dem Layout im 400 % zoom. Danke

@laske185
Copy link
Contributor

@sdvg wir können wo es für dich passt auch neue Tickets machen und die findings dann separat bearbeiten.

…ng/7178-convert-input-scss-to-bem

* 'develop' of github.com:public-ui/kolibri:
  Update all snapshots$ $ Refs: #6899
  delete modal from controlled.tsx
  delete modal in the sample
  remove _modal
  Fix test
  Remove modal property in Drawer
@sdvg
Copy link
Member

sdvg commented Jan 23, 2025

@sdvg wir können wo es für dich passt auch neue Tickets machen und die findings dann separat bearbeiten.

@laske185 Habe die noch offenen Punkte jetzt durchgeschaut. Die würde ich tatsächlich gerne in einem neuen Ticket machen, weil sie sich teilweise mit der Anpassung der Sample App (einspaltig) erledigen sollten. Die ganzen 400% Zoom-Themen würde ich vorschlagen in einem Ticket zusammenzufassen.

laske185
laske185 previously approved these changes Jan 24, 2025
Copy link
Contributor

@laske185 laske185 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nachdem die Snapshots aktualisiert sind kann gemergt werden. Für offene Themen sind neue Issues angelegt.

@sdvg sdvg merged commit 186a6ab into develop Jan 24, 2025
9 checks passed
@sdvg sdvg deleted the refactoring/7178-convert-input-scss-to-bem branch January 24, 2025 10:25
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
v3 Here are issues that need to be resolved for version 3.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BEM Refactoring für Input Components
4 participants