Skip to content
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

Replace AngularJS recon portal with React #1369

Draft
wants to merge 157 commits into
base: main
Choose a base branch
from
Draft

Conversation

jarosenb
Copy link
Member

@jarosenb jarosenb commented Jul 17, 2024

Overview:

image

Note

Caution

We don't want to squash and merge this. We're using as feature branch so want commits for all PRs to this branch to make it to the main branch.

rstijerina and others added 30 commits March 6, 2024 08:52
* add tapipy; Tapis v3 OAuth token and flow

* add docstrings to test methods

* update service account to use Tapis

* remove future imports

* uncomment agave imports

* add TapisOAuthToken model migration

* fix bugs

* remove attrdict for agavepy

* pylint: ignore test files

* fix ignore unit test regex

* fix login url

* formatting; remove AgaveOAuthToken references

* add test settings for tapisv3

* fix auth/views_unit_test.py

* fix backends unit test

* formatting

* task/DES-2654: Tapis v2/v3 apps model (#1158)

* v3 apps model

* make appId required field

* add AppBundle model

* updated model admin

* update models and add migration

* rework app tray models

* squash appitem and appbundle

* un-squash migrations

* remove faulty app description migration

* Use an inline admin form to manage app variants within bundles (#1164)

Co-authored-by: Sal Tijerina <[email protected]>

* model adjustments

* model adjustments; add category pop migration

---------

Co-authored-by: Jake Rosenberg <[email protected]>

* fix fixture import

* skip tapisv2 tests; add todov3 notes; fix fixture

* remove unnecessary commented code

---------

Co-authored-by: Jake Rosenberg <[email protected]>
* add apps views

* add AppDescriptionView

* TapisTokenRefreshMiddleware: redirect to login if expired

* formatting

* fix bugs; add AuthenticatedApiView class

* update apps call for v3

* separate linting from unit tests in workflow

* formatting

* formatting

* add uuidv4

* tests

* fix uuid import

* tests

* fix formatting

* set allowJS to true in tsconfig

* add uuid types

* rename docker tags and volumes to not conflict with main branch

* fix volumes

* add tags, description, is_simcenter; some reorg

* remove broken source mapping

* squash migrations

* split websockets; clean up nginx.debug.conf

* change staticfiles dirs to align with deployed config; nginx: /var, django: /srv

* formatting
* add apps views

* add AppDescriptionView

* TapisTokenRefreshMiddleware: redirect to login if expired

* formatting

* fix bugs; add AuthenticatedApiView class

* update apps call for v3

* separate linting from unit tests in workflow

* formatting

* formatting

* add uuidv4

* tests

* fix uuid import

* tests

* fix formatting

* set allowJS to true in tsconfig

* add uuid types

* rename docker tags and volumes to not conflict with main branch

* fix volumes

* add tags, description, is_simcenter; some reorg

* remove broken source mapping

* squash migrations

* split websockets; clean up nginx.debug.conf

* change staticfiles dirs to align with deployed config; nginx: /var, django: /srv

* formatting

* add jobs views; update workspace UI

* fix client linting and tests

* fix some server side tests

* add getUseJobs hook

* add job detail spinner

* add usePostJobs

* fix webhooks tests

* server side linting and tests

* formatting

* fix unit test

* add CSRF_TRUSTED_ORIGINS setting

* add m1 makefile targetsg
* Use Django to serve static files in debug mode

* clean up volumes; remove local nginx static and media locations

* add back /data/media mount

* add media back to nginx; same locations as main

---------

Co-authored-by: Sal Tijerina <[email protected]>
* Build and serve React assets

* fix template string

* Add custom render block for react assets
* clean up unused files; add development docker build target; fix workspace react-assets ref

* fix data depot react-assets ref

* docker-compose fix; combine python-base and builder-base steps (#1191)

* docker-compose fix; combine python-base and builder-base steps

* revert rabbitmq images

* parity between intel/m1 rabbit versions

* Revert "parity between intel/m1 rabbit versions"

This reverts commit 9f5b709.

* add newline

* revert .gitignore changes

---------

Co-authored-by: Jake Rosenberg <[email protected]>
* add view decorator using Tapis JWT auth

* Update designsafe/apps/api/decorators.py

Co-authored-by: Nathan Franklin <[email protected]>

* Add method decorator on project instance view

---------

Co-authored-by: Nathan Franklin <[email protected]>
* Remove obsolete version param

* Update README for building development images
van-go and others added 26 commits July 11, 2024 18:31
* Refactor form validation rules for project description length

* Refactor form validation rules for project description length
* [Job History] Implement expected functionality of "Reuse Inputs"

* Fix build error

* Address review comments - shared component, suspense

* Fix lint error

---------

Co-authored-by: Sal Tijerina <[email protected]>
* fix html app overflow

* remove unnecessary css
* log DOIs when published files are downloaded/copied/previewed

* re-add logging when entity dropdown is opened
…fields with empty strings (#1364)

* DES-3033: Handle hidden parameters and inputs

* more consolidion
)

* Outputs form files are hidden from interactive job submission, still needs to be hidden from side panel.

* Hid Outputs field from Job Submission Summary sidebar.

* Refactored to bring app definition in as prop, to prevent accidentally double-loading the app and to make the code more readable.

---------

Co-authored-by: Sal Tijerina <[email protected]>
* Disabled menu on preview modal and on listing for
hazmapper files

* - Disables Copy file option in preview PreviewModal
- Adds display of response in preview modal for testing

* - Adds functionality to open hazmapper map in hazmapper
in PreviewContent
- Exports Hazmapper base urls
- Handles cancel of preview modal once the hazmapper
map opens in new tab

* - Adds handleCancel prop to PreviewContent in PreviewModal

* - Front end linting

* - Fixing merge issues

* - Linting

* - Addressing error Expected a 'break' statement
before 'default'  no-fallthrough
- Addresses lexical delcaration error in Hazmapper
case block

* - Linting

* - Linting error

* - Combines file menu logic in PreviewModal

---------

Co-authored-by: Sal Tijerina <[email protected]>
* Adding hideQueue flag for apps to hide the queue selection from users. Should only be used with Compress/Extract for now.

* Can now hide queue from job subission summary

* As suggested, Queue and Allocation now hide independently of each other, and the fields are hidden from the Summary if the app definition requires it.
* improve error boundaries on projects/pubs

* remove logging
* Add user_guide_link to app entry model

* Render user_guide_link from app model in app form header, and move app form header to capture html apps

* Move Suspense one more level up from Header

* Fix element arrangement + clean up unused vars

* linting

* linting

* linting

* move user_guide_link to AppListingEntry model; send value to client side; ignore blank entry

* minor comment adjustment; capitalize Queue in job detail modal

* fix app form vertical scroll

* add max_length to charfield

---------

Co-authored-by: Sal Tijerina <[email protected]>
* chore: Fix MetricsModalBody data display issue

* chore: Fix MetricsModalBody data display issue

* Revert "update to Usage Breakdown"

This reverts commit fe80f0d.

* chore: Update MetricsModalBody to display most recent year by default

* chore: Update MetricsModalBody to display most recent year by default

* chore: Update MetricsModalBody to display most recent year by default

* chore: Refactor MetricsModalBody to improve data display and filtering
@nathanfranklin nathanfranklin changed the title Replace AngularJS recon portal with React placeholder Replace AngularJS recon portal with React Jul 23, 2024
* Add module and placeholder components

* Add missing router/layout

* Fix recon portal lint errors
Base automatically changed from feat/Tapis-v3-redesign to main August 14, 2024 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants