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

enhancement: UI fixes for create/edit row dialogs #1621

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

enjeck
Copy link
Contributor

@enjeck enjeck commented Feb 19, 2025

  • Realign "expand" icon for rich text in the "create row" modal
  • Wrap column description text to avoid overflow

Before

Screenshot from 2025-02-17 13-29-03

After

Screenshot from 2025-02-17 13-32-17

  • Resizes "edit row" modal since it was too large

Before

Screenshot from 2025-02-17 13-40-14

After

Screenshot from 2025-02-17 13-39-50

@enjeck enjeck requested a review from blizzz as a code owner February 19, 2025 05:51
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

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

reverts a change that was purposefully done recently

@@ -6,7 +6,7 @@
<NcDialog v-if="showModal"
data-cy="editRowModal"
:name="t('tables', 'Edit row')"
size="large"
size="normal"
Copy link
Member

Choose a reason for hiding this comment

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

That was done intentionally in #1611

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The rich text editor looks weird though. If we're keeping this size, then we change the "Create row" modal size too for consistency

@blizzz
Copy link
Member

blizzz commented Feb 19, 2025

Adding @marcoambrosini for review. Maybe the size of the modals need a discussion. Or maybe expand/narrow buttons, maybe remembering users preference (in browser).

@juliusknorr juliusknorr added bug Something isn't working design Related to the design 3. to review Waiting for reviews labels Feb 27, 2025
@juliusknorr
Copy link
Member

Please remember to add labels

@marcoambrosini
Copy link
Member

We talked about this in our 1on1 with @enjeck, I think it's fine to keep size large for all these dialogs

enjeck added 2 commits March 4, 2025 05:47
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
@enjeck enjeck force-pushed the create-row-ui-fix branch from 531cad1 to 814f3a1 Compare March 4, 2025 05:47
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
@enjeck
Copy link
Contributor Author

enjeck commented Mar 4, 2025

Please remember to add labels

Add labels where? The dialogs themselves already have the name property that serve the same purpose, I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working design Related to the design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants