Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Frontend maintenance #39

Open
mjaquiery opened this issue Feb 22, 2023 · 2 comments
Open

Frontend maintenance #39

mjaquiery opened this issue Feb 22, 2023 · 2 comments
Assignees
Labels
frontend TypeScript Web frontend v2.0.0 Required for v2.0.0
Milestone

Comments

@mjaquiery
Copy link
Collaborator

  • Tests
    • The frontend needs tests written to verify its functionality remains unharmed by changes to the code.
  • Cleaning out old frontend files
    • There are some old files in the frontend code that do not need to be there. They can be pruned and any functionality required in .js files can be ported to .ts/x files.
@mjaquiery mjaquiery added the v2.0.0 Required for v2.0.0 label Feb 22, 2023
@mjaquiery mjaquiery added this to the v2.0.0 milestone Feb 22, 2023
@mjaquiery mjaquiery added the frontend TypeScript Web frontend label Feb 22, 2023
mjaquiery added a commit that referenced this issue Feb 24, 2023
Major update. 

## Key features:
- Moved backend over from Flask to Django
  - Streamlines database interaction
  - Provides a more reliable framework for code
- Converted frontend to TypeScript
  - More robust code
- Separated Harvester code from backend code
  - Harvesters now rely on API endpoints rather than direct database writes
- Updated documentation throughout

## Missing features (todo):
#39 
- Frontend tests
- Cleaning out old frontend files

#40 
- Entity creation logic should be handled by Django Serializers rather than Views
- Harvester ENV stuff no longer handled 
  - Mostly matters for being able to specify a base path; could be done in config/Harvester view
- Updated Entity Relationship Diagram

#38 
- Python API client code
  - Should be automatically generated via swagger codegen API/docker container, perhaps on demand?

#41 
- Migration from old database

#42 
- API token management (including long-term tokens for scripts)
- User management (reset password, update email?)

#43 
- Profiling important things
  - Data upload
  - Data download
@mjaquiery mjaquiery mentioned this issue Feb 24, 2023
@mjaquiery mjaquiery self-assigned this Apr 21, 2023
@mjaquiery
Copy link
Collaborator Author

Currently awaiting #73

@mjaquiery
Copy link
Collaborator Author

Tests added in #74

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frontend TypeScript Web frontend v2.0.0 Required for v2.0.0
Projects
None yet
Development

No branches or pull requests

1 participant