forked from dongri/openai-api-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/enterprise-dashboard (dongri#66)
* enhancement: split route tree between user + enterprise (dongri#64) * enhancement: add initial dashboard views (dongri#65) * add inital dashboard * updates * integrate with backend v1 * migrate state to reducers * linter * update charts * update charts * update charts * updates * updates * add heatmap * add settings view * update enterprise * update lockfile * eslint * add login button * rename loggers * fix pkce enterprise auth * rebase origin/develop * fix rebase * yarn pretty * fix enterprise login
- Loading branch information
Showing
84 changed files
with
4,527 additions
and
817 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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
17 changes: 17 additions & 0 deletions
17
www/backend/helpar/users/migrations/0018_oauthrequest_enterprise.py
This file contains 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,17 @@ | ||
# Generated by Django 5.0 on 2023-12-30 16:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("users", "0017_alter_user_username"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="oauthrequest", | ||
name="enterprise", | ||
field=models.BooleanField(default=False), | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
www/backend/helpar/users/migrations/0019_pkcerequest_enterprise.py
This file contains 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,17 @@ | ||
# Generated by Django 5.0 on 2023-12-30 16:24 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("users", "0018_oauthrequest_enterprise"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="pkcerequest", | ||
name="enterprise", | ||
field=models.BooleanField(default=False), | ||
), | ||
] |
This file contains 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,37 @@ | ||
# Generated by Django 5.0 on 2023-12-31 03:11 | ||
|
||
import django.db.models.deletion | ||
import uuid | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("users", "0019_pkcerequest_enterprise"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="Session", | ||
fields=[ | ||
( | ||
"id", | ||
models.UUIDField( | ||
default=uuid.uuid4, | ||
editable=False, | ||
primary_key=True, | ||
serialize=False, | ||
), | ||
), | ||
("enterprise", models.BooleanField(default=False)), | ||
("created_at", models.DateTimeField()), | ||
( | ||
"user", | ||
models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to="users.user"), | ||
), | ||
], | ||
options={ | ||
"db_table": "sessions", | ||
}, | ||
), | ||
] |
15 changes: 15 additions & 0 deletions
15
www/backend/helpar/users/migrations/0021_delete_session.py
This file contains 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,15 @@ | ||
# Generated by Django 5.0 on 2023-12-31 03:14 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("users", "0020_session"), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name="Session", | ||
), | ||
] |
This file contains 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 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 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
Oops, something went wrong.