-
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add credential submission and tracking #79
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 all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
994c93c
wip: allows user to submit credentials from profile page
aidanprior 95164dd
The Profile Page can now display the logged-in user's information
mkw2107 27ca23e
feat: fix authentication routing and uses localstorage for session ma…
aidanprior 13f3d64
suspendedSettingsForNow
mkw2107 a4099ff
feat: add anomoly chart with dummy data
nanyi-deng 9a7bc95
fix: disable authentication protecting home, profile, event-dashboard…
nanyi-deng 2ab575a
Fix: removed unused imports and corrects dummy data chart
SamLarivs 19931a1
fix: reimplement all the changes that were undone by git rebase
aidanprior 8919474
Merge branch 'dev' into aidanprior/credentialsToBackend
aidanprior 6129d15
fix: fix missed merge conflicts
aidanprior 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ | |
|
|
||
| **/.classpath | ||
| **/.dockerignore | ||
| # **/.env | ||
| **/.env | ||
| **/.git | ||
| **/.gitignore | ||
| **/.project | ||
|
|
||
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
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
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
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,21 +1,18 @@ | ||
| import React, { lazy, useState } from 'react'; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm the lazy loading didnt turn out to be a home run. I wonder how many other issues were stemming from it. Maybe there's a better use case for it in larger applications. |
||
| import React, { useState } from 'react'; | ||
| import { | ||
| DragDropContext, | ||
| Droppable, | ||
| Draggable, | ||
| DropResult, | ||
| } from '@hello-pangea/dnd'; | ||
| import { CardState } from '../types'; | ||
|
|
||
| const Card = lazy(() => import('../components/Card')); | ||
| const UserActivityChart = lazy( | ||
| () => import('../components/charts/UserActivity') | ||
| ); | ||
| const HeatMap = lazy(() => import('../components/charts/HeatMap')); | ||
| const IpAccessCombined = lazy(() => import('../components/IpAccessCombined')); | ||
| const EventTypeChart = lazy(() => import('../components/charts/EventType')); | ||
| const EventSourceChart = lazy(() => import('../components/charts/EventSource')); | ||
| const AnomalyChart = lazy(() => import('../components/charts/AnomalyChart')); | ||
| import UserActivityChart from '../components/charts/UserActivity'; | ||
| import EventTypeChart from '../components/charts/EventType'; | ||
| import EventSourceChart from '../components/charts/EventSource'; | ||
| import HeatMap from '../components/charts/HeatMap'; | ||
| import IpAccessCombined from '../components/IpAccessCombined'; | ||
| import AnomalyChart from '../components/charts/AnomalyChart'; | ||
| import Card from '../components/Card'; | ||
|
|
||
| const Home: React.FC<{ isDarkMode: boolean }> = ({ isDarkMode }) => { | ||
| // State to track the current IP (null means no IP selected) | ||
|
|
||
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.
Nice.