-
Notifications
You must be signed in to change notification settings - Fork 3
feat: scaffolding for package detail #36
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0ca32c5
feat: scaffolding for package detail
sdankel d86d92d
format in CI
sdankel 0ccdf9f
react-markdown
sdankel 1f4868f
add missing npm script
sdankel 85161fa
update package lock
sdankel 3a06f1a
Merge branch 'master' into sophie/package-detail
sdankel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # Ignore artifacts: | ||
| build | ||
| coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,73 @@ | ||
| .App { | ||
| /* Dark Mode Theme for Main App Container */ | ||
| .app-container { | ||
| width: 100%; | ||
| display: flex; | ||
| flex-direction: column; | ||
| text-align: center; | ||
| background-color: #1e1e1e; | ||
| height: 100vh; | ||
| color: #e0e0e0; | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| .app-toolbar { | ||
| background-color: #181818 !important; | ||
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); | ||
| } | ||
|
|
||
| .App-logo { | ||
| height: 40vmin; | ||
| pointer-events: none; | ||
| .app-logo { | ||
| flex-grow: 1; | ||
| display: block; | ||
| color: #00f58c; | ||
| font-size: 24px; | ||
| font-family: monospace; | ||
| cursor: pointer; | ||
| font-weight: bold; | ||
| transition: color 0.2s ease; | ||
| } | ||
|
|
||
| @media (prefers-reduced-motion: no-preference) { | ||
| .App-logo { | ||
| animation: App-logo-spin infinite 20s linear; | ||
| } | ||
| .app-logo:hover { | ||
| color: #2dffa0; | ||
| } | ||
|
|
||
| .App-header { | ||
| background-color: #282c34; | ||
| min-height: 100vh; | ||
| .app-content { | ||
| flex: 1; | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| justify-content: center; | ||
| font-size: calc(10px + 2vmin); | ||
| color: white; | ||
| } | ||
|
|
||
| .App-link { | ||
| color: #61dafb; | ||
| /* Global Dark Mode styles */ | ||
| body { | ||
| background-color: #1e1e1e; | ||
| color: #e0e0e0; | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| /* Button overrides */ | ||
| .MuiButton-containedPrimary { | ||
| background-color: #0d47a1 !important; | ||
| color: #ffffff !important; | ||
| } | ||
|
|
||
| .MuiButton-containedPrimary:hover { | ||
| background-color: #1565c0 !important; | ||
| } | ||
|
|
||
| .MuiButton-containedSecondary { | ||
| background-color: #00f58c !important; | ||
| color: #111111 !important; | ||
| } | ||
|
|
||
| .MuiButton-containedSecondary:hover { | ||
| background-color: #2dffa0 !important; | ||
| } | ||
|
|
||
| .MuiButton-containedWarning { | ||
| background-color: #bf360c !important; | ||
| color: #ffffff !important; | ||
| } | ||
|
|
||
| @keyframes App-logo-spin { | ||
| from { | ||
| transform: rotate(0deg); | ||
| } | ||
| to { | ||
| transform: rotate(360deg); | ||
| } | ||
| .MuiButton-containedWarning:hover { | ||
| background-color: #e64a19 !important; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| export const SERVER_URI = process.env.REACT_APP_SERVER_URI ?? "http://localhost:8080"; | ||
| export const REDIRECT_URI = process.env.REACT_APP_REDIRECT_URI ?? "http://localhost:3000"; | ||
| export const SERVER_URI = | ||
| process.env.REACT_APP_SERVER_URI ?? "http://localhost:8080"; | ||
| export const REDIRECT_URI = | ||
| process.env.REACT_APP_REDIRECT_URI ?? "http://localhost:3000"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| /* Dark mode styling for Package Dashboard */ | ||
| .dashboard-container { | ||
| margin-top: 24px; | ||
| } | ||
|
|
||
| .section-title { | ||
| border-bottom: 2px solid #90caf9 !important; | ||
| padding-bottom: 8px !important; | ||
| color: #ffffff !important; | ||
| font-weight: 500 !important; | ||
| } | ||
|
|
||
| .package-card { | ||
| margin-bottom: 16px; | ||
| border-radius: 8px; | ||
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important; | ||
| cursor: pointer; | ||
| transition: | ||
| transform 0.2s, | ||
| background-color 0.2s; | ||
| background-color: #2a2a2a !important; | ||
| border: 1px solid #333 !important; | ||
| } | ||
|
|
||
| .package-card-hover { | ||
| background-color: #383838 !important; | ||
| transform: translateY(-2px); | ||
| box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4) !important; | ||
| } | ||
|
|
||
| .card-content { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| background-color: transparent !important; | ||
| } | ||
|
|
||
| .package-name { | ||
| color: #90caf9 !important; | ||
| margin-bottom: 8px !important; | ||
| } | ||
|
|
||
| .package-timestamp { | ||
| color: #b0b0b0 !important; | ||
| font-size: 0.85rem !important; | ||
| } | ||
|
|
||
| .package-description { | ||
| color: #e0e0e0 !important; | ||
| margin-top: 8px !important; | ||
| } | ||
|
|
||
| .arrow-icon { | ||
| color: #90caf9 !important; | ||
| margin-left: 16px; | ||
| align-self: center; | ||
| font-size: 1.2rem !important; | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nit: We should try avoid
!importantsince it makes it difficult to identify the heirarchy of CSS overridesThere 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.
Will address in a future PR