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

feat(UI): new navigation structure #2211

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

Conversation

maiwald
Copy link
Collaborator

@maiwald maiwald commented Oct 11, 2024

This PR adds the app layout proposed by Shapefield's redesign.

Copy link

LCOV of commit c79d219 during Continuous Integration #3990

Summary coverage rate:
  lines......: 65.5% (14012 of 21400 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@maiwald maiwald force-pushed the new-navigation-structure branch from c79d219 to 24d5006 Compare October 14, 2024 15:47
Copy link

LCOV of commit 24d5006 during Continuous Integration #4002

Summary coverage rate:
  lines......: 65.5% (14010 of 21400 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@maiwald maiwald force-pushed the new-navigation-structure branch 2 times, most recently from c7987e5 to 7aef24f Compare October 15, 2024 15:16
Copy link

LCOV of commit c7987e5 during Continuous Integration #4013

Summary coverage rate:
  lines......: 65.5% (14010 of 21400 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

Copy link

LCOV of commit 7aef24f during Continuous Integration #4014

Summary coverage rate:
  lines......: 65.5% (14010 of 21400 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@maiwald maiwald force-pushed the new-navigation-structure branch from 7aef24f to 873dd7d Compare October 16, 2024 12:37
Copy link

LCOV of commit 873dd7d during Continuous Integration #4021

Summary coverage rate:
  lines......: 65.5% (14011 of 21399 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@maiwald maiwald force-pushed the new-navigation-structure branch from 873dd7d to 3ff6333 Compare October 16, 2024 13:13
Copy link

LCOV of commit 3ff6333 during Continuous Integration #4023

Summary coverage rate:
  lines......: 65.5% (14010 of 21400 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@maiwald maiwald force-pushed the new-navigation-structure branch 5 times, most recently from 7791446 to e7dd4d4 Compare October 17, 2024 14:11
@maiwald maiwald changed the base branch from update-bootstrap-ui-library to main October 18, 2024 08:57
@maiwald maiwald force-pushed the new-navigation-structure branch from e7dd4d4 to 2b81966 Compare October 18, 2024 10:08
Copy link

LCOV of commit 2b81966 during Continuous Integration #4044

Summary coverage rate:
  lines......: 65.5% (14011 of 21399 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@maiwald maiwald force-pushed the new-navigation-structure branch 3 times, most recently from af52890 to 7d91b52 Compare October 28, 2024 13:41
Copy link

LCOV of commit af52890 during Continuous Integration #4058

Summary coverage rate:
  lines......: 65.5% (14010 of 21400 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

Copy link

LCOV of commit 7d91b52 during Continuous Integration #4059

Summary coverage rate:
  lines......: 65.5% (14026 of 21400 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@maiwald maiwald force-pushed the new-navigation-structure branch from 7d91b52 to 9c65396 Compare October 28, 2024 15:34
Copy link

LCOV of commit 9c65396 during Continuous Integration #4061

Summary coverage rate:
  lines......: 65.5% (14011 of 21399 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@maiwald maiwald force-pushed the new-navigation-structure branch 2 times, most recently from 6ed7199 to 26741fb Compare October 29, 2024 10:37
Copy link

LCOV of commit 26741fb during Continuous Integration #4064

Summary coverage rate:
  lines......: 65.5% (14010 of 21400 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

@maiwald maiwald force-pushed the new-navigation-structure branch from 26741fb to 88027da Compare October 29, 2024 13:43
maiwald and others added 28 commits January 3, 2025 11:15
The first <Popover.Header> is not the first DOM node in the <Popover>.
React bootstrap prepends another element for the arrow, so :first-child
does not work here.

I attempted to use `.popover > *:nth-child(n + 2 of .popover-header)`
but I suppose our css preprocessor does not support the relatively new
nth-of selector, because the selector is mangled in the compiled output.

https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child#the_of_selector_syntax
This patch introduces the TabLayoutEditor component with a
drag-and-drop interface for reordering and hiding/showing tabs.

The component accepts an ItemComponent via the `getItemComponent` prop
for rendering individual items.

With this patch we no longer need to manage the synthetic 'hidden' Tab
when no tabs are currently hidden. This is now the editor component's
responsibility and using code does not have to manage that.

This also removes the `DragDropItemTypes.LAYOUT` constant in favor of a
unique scope for each instance of the editor, because drag-and-drop is
only supposed to work within a specific visible/hidden list combination
and not globally across editors.

State changes are now propagated via the `onLayoutChange` callback and
not by reaching into the state of the component.
The Panel components would not be sized properly before. Now they
receive `width: 0` so flex can calculate the size and scrolling is
handled by a separate wrapper.
Also fix warning about invalid layout when detail view is not showing.
@maiwald maiwald force-pushed the new-navigation-structure branch from 2488f95 to b280b29 Compare January 3, 2025 10:40
Copy link

github-actions bot commented Jan 3, 2025

LCOV of commit b280b29 during Continuous Integration #4275

Summary coverage rate:
  lines......: 66.7% (14327 of 21483 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate: n/a

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

Successfully merging this pull request may close these issues.

2 participants