-
Notifications
You must be signed in to change notification settings - Fork 33
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
π§βπ» show build version #360
π§βπ» show build version #360
Conversation
In my opinion, this feature is not necessary for the normal user, who has no influence on the build anyway (in contrast to App Store updates with a normal app). |
The version is now moved to the debug page. I also improved the debug page a bit :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The debug page looks great and should be correct. But I can't say anything about the Dockerscript tho
π€ Generated by Copilot at f12b63d
Summary
ππ¨π
This pull request adds a new feature to the app that allows users to view the version of the app and the result of an API request on a debug page. It also improves the layout and appearance of the debug page by using a spinner, syntax highlighting, and custom CSS classes. It modifies the
Dockerfile
,package.json
,package-lock.json
,debug.jsx
,personal.jsx
, andDebug.module.css
files to implement this feature.Walkthrough
react-syntax-highlighter
library and its dependencies topackage.json
andpackage-lock.json
files (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)SyntaxHighlighter
component fromreact-syntax-highlighter
library indebug.jsx
file (link)Debug.module.css
file (link)Spinner
component fromreact-bootstrap
library indebug.jsx
file (link, link)isLoading
state variable and setter function toDebug
component indebug.jsx
file (link)isLoading
to true before sending API request and to false after receiving response insubmit
function indebug.jsx
file (link)hidden
attribute toSpinner
component based onisLoading
value indebug.jsx
file (link)Debug.module.css
file (link)Dockerfile
to export and setNEXT_PUBLIC_COMMIT_HASH
environment variable (link)version
div element withNEXT_PUBLIC_COMMIT_HASH
value indebug.jsx
file (link)NEXT_PUBLIC_COMMIT_HASH
value ascommitHash
parameter toPersonal
component inpersonal.jsx
file (link)Debug.module.css
file (link)Common.module.css
toDebug.module.css
indebug.jsx
file (link)className
attribute fromListGroup.Item
component indebug.jsx
file (link)xs="auto"
attribute toCol
component wrapping the remove button indebug.jsx
file (link)