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

UI: Display newly added items at the top of the canvas instead of the bottom #523

Open
anasstarfaoui opened this issue Oct 17, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@anasstarfaoui
Copy link

anasstarfaoui commented Oct 17, 2024

Summary
When adding new elements to the canvas, the items are currently displayed at the bottom. To improve user experience and provide immediate visual confirmation of the action, new items should be added to the top of the canvas.

Expected Outcome
Newly added items should appear at the top of the canvas, giving users instant feedback that the action has been completed successfully.

Acceptance Criteria

  • When a new item is added to the canvas, it should be positioned at the top rather than the bottom.
  • Ensure the display update happens in real-time without affecting the current view or layout.
  • Test to confirm that the behavior applies to all types of elements that can be added to the canvas.
@anasstarfaoui anasstarfaoui added the enhancement New feature or request label Oct 17, 2024
@anasstarfaoui anasstarfaoui self-assigned this Oct 17, 2024
@tuscland tuscland changed the title UI Improvement : Display newly added items at the top of the canvas instead of the bottom. UI: Display newly added items at the top of the canvas instead of the bottom Oct 18, 2024
@tuscland
Copy link
Member

I like this, as a quick win.

@MarieS-WiMLDS @rouk1 WDYT?

@MarieS-WiMLDS
Copy link
Contributor

When you say top of the canvas, to be sure we talk about the same place, it means the menu on the left?
Capture d’écran du 2024-10-18 16-31-22
With this new rule, I would have item2 above item?

If it's the case, I don't think it's the most important thing we have in our backlog. It's only useful when many items are created.

@rouk1
Copy link
Contributor

rouk1 commented Oct 18, 2024

Are we on the same page ?
I read this as: when you add an item to the view by clicking it (former double click) it appears at the top of the view.
I do not read this as : "We have a live view that display all items."

Anyhow: should we trigger a scroll to the top of the page when an item is added ?

@tuscland
Copy link
Member

@anasstarfaoui we use the word view instead of canvas.

I understand that we are talking about adding items using the + button.

@rouk1 two cases:

  • I would not trigger a scroll at the top if the user intentionally scrolled down to view old items.
  • However, on new item I would make sure the view stays at the top if the scroll position is already at the top. This means that when you start with an empty view, and add items by clicking the contextual + button at their right, the view should always stay at the top, no matter how many items are added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants