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

Update company design #4995

Merged
merged 10 commits into from
Oct 9, 2024
Merged

Update company design #4995

merged 10 commits into from
Oct 9, 2024

Conversation

Bestem0r
Copy link
Contributor

Description

Updates the company details page in BDB to use the new table components, and applies a more modern and compact design. Feel free to suggest design changes if you have any! 😄

Result

  • Changes look good on both light and dark theme.
  • Changes look good with different viewports (mobile, tablet, etc.).
  • Changes look good with slower Internet connections.

Before:

Screencast.from.2024-09-22.19-41-43.webm

After:

Screencast.from.2024-09-22.19-38-55.webm

Testing

  • I have thoroughly tested my changes.
  1. Navigate to a company detail page.
  2. Verify that all table functionality works.
  3. Verify that all information is correctly displayed.

Resolves ABA-1054

Copy link

vercel bot commented Sep 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
lego-bricks-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 9, 2024 7:21am

@github-actions github-actions bot added the review-needed Pull requests that need review label Sep 25, 2024
Copy link
Member

@eikhr eikhr left a comment

Choose a reason for hiding this comment

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

Why do all the tables have scrollbars?

Copy link
Member

@ivarnakken ivarnakken left a comment

Choose a reason for hiding this comment

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

This looks much much better!😍😍😍Great job!

Although I'm picky, this is an awesome improvement!

Comment on lines +10 to +12
.overflowWrap {
overflow-wrap: anywhere;
}
Copy link
Member

Choose a reason for hiding this comment

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

This feels dangerous. Have you checked how this affects other uses of the component? Like on the event detail page

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I quickly checked through all uses now and couldn't spot any problems

app/components/TextWithIcon/index.tsx Outdated Show resolved Hide resolved
app/components/Upload/FileUpload.tsx Outdated Show resolved Hide resolved
app/components/Upload/FileUpload.tsx Outdated Show resolved Hide resolved
app/routes/bdb/components/BdbDetail.tsx Outdated Show resolved Hide resolved
app/routes/bdb/components/BdbDetail.tsx Show resolved Hide resolved
app/routes/bdb/components/SemesterStatusDetail.tsx Outdated Show resolved Hide resolved
app/routes/bdb/components/bdb.css Outdated Show resolved Hide resolved
app/routes/bdb/components/BdbDetail.tsx Outdated Show resolved Hide resolved
app/components/Upload/FileUpload.tsx Outdated Show resolved Hide resolved
@Bestem0r
Copy link
Contributor Author

Bestem0r commented Oct 2, 2024

Why do all the tables have scrollbars?

Fixed in this PR

Copy link

linear bot commented Oct 2, 2024

@Bestem0r
Copy link
Contributor Author

Bestem0r commented Oct 9, 2024

Can you rereview? @ivarnakken

Copy link
Member

@ivarnakken ivarnakken left a comment

Choose a reason for hiding this comment

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

Awesome!!

app/components/Upload/FileUpload.tsx Show resolved Hide resolved
@Bestem0r Bestem0r merged commit 86127d0 into master Oct 9, 2024
6 checks passed
@Bestem0r Bestem0r deleted the update-company-design branch October 9, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review-needed Pull requests that need review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants