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

Fixes 3938: Fix admin task polling #5

Closed
wants to merge 99 commits into from
Closed

Fixes 3938: Fix admin task polling #5

wants to merge 99 commits into from

Conversation

Andrewgdewar
Copy link
Owner

Summary

Admin task polling wasn't working consistently, this change simply applies the same fix that was done for the repositories table on the AdminTask table.

Testing steps

  • Take some action that will produce a task (snapshot, etc..)
  • Check the admin task table, if any of the tables statuses appears as "running" or "pending", the api will be polled every 15 seconds; until all are settled.

Andrewgdewar and others added 30 commits September 13, 2023 08:29
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) and [@cypress/request](https://github.com/cypress-io/request). These dependencies needed to be updated together.

Updates `tough-cookie` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](salesforce/tough-cookie@v4.1.2...v4.1.3)

Updates `@cypress/request` from 2.88.10 to 2.88.12
- [Release notes](https://github.com/cypress-io/request/releases)
- [Changelog](https://github.com/cypress-io/request/blob/master/CHANGELOG.md)
- [Commits](cypress-io/request@v2.88.10...v2.88.12)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
- dependency-name: "@cypress/request"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixes 1737: Update yml with permissions
* Revert "Fixes 1737: Update action permission (content-services#151)"

This reverts commit 254b15d.

* Revert "Fixes 1737: Add stable merge.yml (content-services#150)"

This reverts commit 75d6725.
* Fixes 1700: Update edit/add modal checkmark functionality

* Fixes 2613: React 18, Patternfly 5, Node 18 update

* Set dropdown to drop 'down'

* Update src/Pages/ContentListTable/components/AddContent/AddContent.tsx

Co-authored-by: swadeley <[email protected]>

* Fix capitolization

* Fixes 2048: add without snapshot button

* Add OuiaId to DeleteToggle

* Refs 2048: Update popular repositories ouiaID's for QE tests (content-services#154)

* Update popular repositories ouiaID's for QE tests

* Update toggle dropwdown

---------

Co-authored-by: swadeley <[email protected]>
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.1 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update axios and postcss node modules
…es#155)

* added snapshot info to content list table when feature is accessible, updated tests

* changed color, used hide component, removed br and added flex / gap to td

* remove gap, reduce spacing

* formatting

* change context check from snapshots.accessible to snapshots.enabled

* updating backend so we can just check snapshots.accessible here
* Fixes 2613: React 18, Patternfly 5, Node 18 update

* Fixes 2533: Add red hat repositories UI

* Hide row actions kebab if there are no actions

* Fix tests.

* Fix recoccuring formatting string

* Add a test, update toggle ids
* Added my name to it

* HMS=1920

* HMS-1920

* HMS-1920

* Changed the header

* Fixed the ouiaId

* Removed introduction
* Fixes 2910: Remove babel

* Bump pacakage-lock

* Fix tests
* feat: Create a new modal to confirm custom repository delete action

Signed-off-by: Adelia Ferreira <[email protected]>

* fix lint errors on build

Signed-off-by: Adelia Ferreira <[email protected]>

* Updated tests, react-query, patternfly standards

---------

Signed-off-by: Adelia Ferreira <[email protected]>
Co-authored-by: Andrew Dewar <[email protected]>
Adds variable snapshot_creation_toggle ouiaID
…-services#196)

* Fixes 3336: expose module_hotfixes flag as checkbox for repo

* clarification in tooltips

* added ouiaid

* change tooltip to selecting
* Fixes 1974: Added manual snapshot

* My changes

* My new changes

* my new changes

* My final change

* My final change

* My new change

* My test for the TriggerSnapshot

* Added theTrigger Snapshot still exist

* ..

* Removed lines

* Add snapshots accessible requirement

* Update tests to use correct context state

---------

Co-authored-by: Andrew Dewar <[email protected]>
* For the Clear Filter

* Added teh Clear filter tab like the main page

* My chancges regarding the filter

* My final changes

* My test for the clear filters

* ..

* Added the chip container to fix spacing issue

* Added the styling to center

* My final changes for the clear filters button everything is functional

* My test I wrote

* My final test for rthe expect

* My change reomved waitfor

* My final addition added the length and return

* removed unreachable code

* My final change for the test

* Removed the waitfors and console.log

* Removed the async

* My final changes added another setSearchQuery to make sure it updates and clears

* The final changes which is now filtering

* Replace missing type and ouiaId

---------

Co-authored-by: Andrew Dewar <[email protected]>
)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.3.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
rverdile and others added 29 commits May 30, 2024 10:58
Fixes-4197: clicking on snapshot packages sends you to the advisories tab
…s#274)

* Refs 3790: Folder structure + relative to absolute path update

* Fix template route imports
pr_check: use insights-stage as ref-env

This will deploy the apps using whatever is in stage which is where PRs
are deployed after being merged.
* Add ouiaIDs for template form

* Change menuToggleProps
…ervices#279)

Fixes 4257: disable snapshotting by default for prod stable, expose snapshotting in prod stable
* Refs 3790: Folder structure + relative to absolute path update

* Fixes 3790: Add template details

* Fix bouncing skeleton table pagination

* Add permissions

* Fix test

* Fix lint

* Fix bugs identified in review

* Fix button padding on templates table
* Fixes 4421: add top level page safe only

* Lint

* Fix typo :|
…ces#298)

* Fixes 4392: improve recovery process from failed snapshot

* address comments, fix for 4444
Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bug: Adds ouia-id to define content tab selectors
…services#306)

* Fixes 4475: routing issues when trying to delete popular repos

* fix position of expanded content

* route to custom repo step in template modal

* address comments
Fixes 4474: fix snapshotting behavior in prod-beta
…vices#307)

* Fixes 4223: Ensure modals do not cause redirect on close

* formatting
* Fixes 4186: Add systems to template details

* Update workspace copy for RHINENG-7878

* Update ErrataTab tests

* Update src/Pages/Templates/TemplateDetails/components/AddSystems/AddSystemModal.tsx

Co-authored-by: Bryttanie <[email protected]>

* Update src/services/Systems/SystemsQueries.ts

Co-authored-by: Bryttanie <[email protected]>

* Changes from review feedback

* _blank not working

---------

Co-authored-by: Bryttanie <[email protected]>
* Fixes 4372: Update Axios, replace old RBAC client

* Format
* Fixes 4308: Add use latest to Template create/edit/table/details

* Fix test

* Update test to cover both cases.

* Ensure date is null if use_latest is true for edit

* Swap edit call from patch to put
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.

9 participants