Skip to content

Conversation

@matmair
Copy link
Contributor

@matmair matmair commented Aug 26, 2024

This PR adds a "start page" to the Admin Center.

  • Adds (functioning) quick actions
  • Adds server status on start page
  • General info what the admin center is meant to be
Normal Mode Bright Mode
grafik grafik

Closes invenhost#108
Closes invenhost#112
Closes invenhost#113

To-do:

  • implement first 3 quick actions

Later?

  • maybe find a way to persist tips / guides?

@matmair matmair added feature User Interface Related to the frontend / User Interface labels Aug 26, 2024
@matmair matmair added this to the 0.17.0 milestone Aug 26, 2024
@netlify
Copy link

netlify bot commented Aug 26, 2024

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 3b36bfa
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/690324f1725eb600084da62c
😎 Deploy Preview https://deploy-preview-7995--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 93 (no change from production)
Accessibility: 81 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Aug 26, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.86%. Comparing base (ec9b6e7) to head (3b36bfa).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7995      +/-   ##
==========================================
+ Coverage   87.80%   87.86%   +0.05%     
==========================================
  Files        1277     1276       -1     
  Lines       57503    57461      -42     
  Branches     2023     2023              
==========================================
- Hits        50493    50488       -5     
+ Misses       6510     6473      -37     
  Partials      500      500              
Components Coverage Δ
Backend Apps 91.95% <ø> (+0.06%) ⬆️
Backend General 93.66% <ø> (ø)
Frontend 70.08% <ø> (-0.01%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat SchrodingersGat modified the milestones: 0.17.0, 1.0.0 Nov 18, 2024
@matmair matmair modified the milestones: 1.0.0, 1.1.0 Jun 23, 2025
@SchrodingersGat SchrodingersGat modified the milestones: 1.1.0, 1.2.0 Oct 20, 2025
@matmair matmair modified the milestones: 1.2.0, 1.1.0 Oct 22, 2025
@matmair matmair self-assigned this Oct 22, 2025
@matmair matmair marked this pull request as ready for review October 22, 2025 19:50
@matmair matmair changed the title [PUI] Add startpage to admin feat(frontend): Add start page with quick actions to Admin Center Oct 22, 2025
@matmair matmair added enhancement This is an suggested enhancement or new feature setup Relates to the InvenTree setup / installation process and removed feature labels Oct 22, 2025
@matmair
Copy link
Contributor Author

matmair commented Oct 22, 2025

@SchrodingersGat ready for review and merge

@SchrodingersGat
Copy link
Member

@matmair looks great in general, I have made some minor tweaks to ensure that the text is translated, and to more closely match the visual style of the rest of the admin center:

image

@SchrodingersGat SchrodingersGat merged commit 1159418 into inventree:master Oct 30, 2025
39 of 41 checks passed
@SchrodingersGat SchrodingersGat deleted the pui-add-startpage-to-admin branch October 30, 2025 11:06
const items = [
{
id: '0',
title: t`Open an Issue`,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Are you sure it is a good idea to have this here forever? In my original intend this message was just part of the tipp to direct first impressions

));

return (
<SimpleGrid
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will this approach scale when we have 20-30 quick actions? Just based on the amount of quick things we have in the various panels right now.
The idea with the carousel was that it will always take up the same amount of space

Copy link
Member

Choose a reason for hiding this comment

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

The issue with the carousel is that you have to navigate left / right to find the action you want - not exactly a "quick" action

<Title order={5}>
<Trans>System status</Trans>
</Title>
<StylishText size='lg'>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I find this heavy use of accent colors fatiguing to the eye compared to a normal bold header

Copy link
Member

Choose a reason for hiding this comment

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

I'd be happy to move to normal bold header for accordion headings - this was simply to bring in line with other rendering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This is an suggested enhancement or new feature setup Relates to the InvenTree setup / installation process User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Server status page in admin center More Quick Actions in admin center "Start page" in admin center

2 participants