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

[stable] Update build #2

Open
wants to merge 2,706 commits into
base: master-stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2706 commits
Select commit Hold shift + click to select a range
30e2dd3
Add demo api origins to allowed auth
aneelac22 Apr 9, 2024
150b118
Merge pull request #2812 from aneelac22/RHCLOUD-31672
apinkert Apr 9, 2024
6e12f31
Add regional ocm api instances
aneelac22 Apr 10, 2024
68b1760
Merge pull request #2813 from aneelac22/RHCLOUD-31672
Hyperkid123 Apr 10, 2024
c1d3ecb
Embed VA
Hyperkid123 Apr 3, 2024
1dbfda5
Merge branch 'master' into embed-VA
Hyperkid123 Apr 11, 2024
5ffec93
Add help icon with hover-over text next to the filter by tags drop do…
radekkaluzik Apr 11, 2024
f28632f
Merge branch 'master' into embed-VA
Hyperkid123 Apr 11, 2024
bb8a6fd
Merge pull request #2809 from Hyperkid123/embed-VA
Hyperkid123 Apr 11, 2024
61f4532
Remove insights from VA routes.
Hyperkid123 Apr 11, 2024
5b2060b
Merge pull request #2814 from Hyperkid123/remove-insights-va
Hyperkid123 Apr 11, 2024
ff1d94d
Disable obsolete landing page e2e test
Hyperkid123 Apr 12, 2024
5467df8
Use parsed services.json from chrome-service.
Hyperkid123 Mar 25, 2024
6a30dfd
Add ouiaIds to all services tabs
fhlavac Apr 15, 2024
39c311e
Add ouia id to all services toggle
fhlavac Apr 15, 2024
851dfd8
Merge pull request #2817 from fhlavac/tabs
Hyperkid123 Apr 17, 2024
9e81084
Merge branch 'master' into toggle
Hyperkid123 Apr 17, 2024
b190cc0
Merge pull request #2818 from fhlavac/toggle
Hyperkid123 Apr 17, 2024
e230213
Send preview context value to unleash.
Hyperkid123 Apr 17, 2024
778294a
Merge pull request #2819 from Hyperkid123/unleash-preview-context
Hyperkid123 Apr 18, 2024
42e92aa
Merge branch 'master' into parsed-services
Hyperkid123 Apr 18, 2024
ad8e2a2
Merge branch 'master' into configure_events_read
karelhala Apr 18, 2024
830ea14
Merge pull request #2792 from CodyWMitchell/configure_events_read
Hyperkid123 Apr 18, 2024
8172da9
Merge branch 'master' into disable-landing-page-test
fhlavac Apr 18, 2024
6eac6be
Merge pull request #2816 from Hyperkid123/disable-landing-page-test
Hyperkid123 Apr 18, 2024
48d1f36
Use link title based default document titles.
Hyperkid123 Apr 18, 2024
3faa558
Add orgId to unleash context.
Hyperkid123 Apr 19, 2024
8b61cd6
Merge branch 'master' into parsed-services
Hyperkid123 Apr 19, 2024
94f3475
Merge pull request #2821 from Hyperkid123/orgId-unleash-context
Hyperkid123 Apr 19, 2024
e7f3472
Merge branch 'master' into parsed-services
Hyperkid123 Apr 19, 2024
b1c775d
Merge pull request #2815 from Hyperkid123/parsed-services
Hyperkid123 Apr 19, 2024
a3561eb
Update PF to 5.3
Hyperkid123 Apr 22, 2024
48cefe5
Ensure Chrome PF ids are unique.
Hyperkid123 Apr 23, 2024
a1d7a92
Merge pull request #2824 from Hyperkid123/pf-update
Hyperkid123 Apr 23, 2024
05aacc9
Add OUIA to all services page and dropdown items (#2822)
fhlavac Apr 24, 2024
38bb1f8
Enable VA in insights bundle. (#2823)
Hyperkid123 Apr 24, 2024
7a69b49
Hide global filter when disabled.
Hyperkid123 Apr 25, 2024
03a0a14
Merge pull request #2826 from Hyperkid123/hide-global-filter
Hyperkid123 Apr 26, 2024
64ccf6a
update insights bundle title suffix to RHEL
mkholjuraev Apr 29, 2024
eb2d7d0
Merge pull request #2828 from mkholjuraev/master
Hyperkid123 Apr 30, 2024
70c9e5d
Merge branch 'master' into link-based-tab-names
Hyperkid123 May 2, 2024
3194dee
Merge pull request #2820 from Hyperkid123/link-based-tab-names
Hyperkid123 May 2, 2024
abcd25e
RHCLOUD-32399 update link (#2829)
aferd May 6, 2024
2ac36c1
Move 'favorite services' widget styling back to chrome
epwinchell May 8, 2024
c1a3fc1
Merge branch 'master' into widget_styling
epwinchell May 8, 2024
e9d7f81
Add LocalStorage flag to force new preview feaures.
Hyperkid123 May 9, 2024
0b0eaae
Merge pull request #2830 from epwinchell/widget_styling
epwinchell May 9, 2024
8e25d2e
RHCLOUD-32008: create internal jotai state for preview
florkbr May 10, 2024
3061e10
Merge pull request #2832 from florkbr/add-preview-jotai-atom
Hyperkid123 May 10, 2024
aaab433
Merge branch 'master' into preview-localstorage
Hyperkid123 May 10, 2024
d76ce23
Merge pull request #2831 from Hyperkid123/preview-localstorage
Hyperkid123 May 10, 2024
b829a38
Send cookie to PDF generator.
Hyperkid123 May 13, 2024
922ee8c
Merge pull request #2833 from Hyperkid123/pdf-cookie
Hyperkid123 May 14, 2024
d915320
Changed URL for User Preferences in UserToggle
radekkaluzik May 14, 2024
47a44de
Merge pull request #2834 from radekkaluzik/RHCLOUD-32313
radekkaluzik May 14, 2024
499d521
Replace sentry var to check for app names
adonispuente May 15, 2024
9c3ec4d
Merge pull request #2837 from adonispuente/sentryTag
Hyperkid123 May 16, 2024
0ce19ea
Update PDF generator cookie path.
Hyperkid123 May 17, 2024
ff082be
Merge pull request #2838 from Hyperkid123/update-pdf-cookie-path
Hyperkid123 May 17, 2024
ffee533
PAss available bundles via chrome API
karelhala May 17, 2024
3b368fe
Merge branch 'master' into pass-available-bundles
Hyperkid123 May 17, 2024
539a1f0
Merge pull request #2839 from karelhala/pass-available-bundles
Hyperkid123 May 20, 2024
fa4e37e
add brain icon for AI/ML allservices section
InsaneZein May 20, 2024
1f7cded
use brain icon from patternfly
InsaneZein May 20, 2024
e00e089
Merge pull request #2840 from RedHatInsights/add-brain
Hyperkid123 May 21, 2024
e01656f
Add levenshtein distance functions for string highligt.
Hyperkid123 May 22, 2024
a87aee9
Build local search index DB from chrome service.
Hyperkid123 May 22, 2024
2a9fa98
Use local search DB in search input.
Hyperkid123 May 22, 2024
4968574
Fix tests after local search swap.
Hyperkid123 May 22, 2024
fe512ff
Remove business-services bundle references.
Hyperkid123 May 23, 2024
16763b7
Merge pull request #2842 from Hyperkid123/remove-business-services
Hyperkid123 May 23, 2024
76ccaa5
Remove old business-services filter
dlabrecq May 23, 2024
34cd2da
Merge pull request #2843 from dlabrecq/business-services
Hyperkid123 May 23, 2024
d360708
Identify all outgoing requests with extra frontend header.
Hyperkid123 May 27, 2024
c5da8d1
Adjust PDF API
Hyperkid123 May 28, 2024
f1bd75c
Merge pull request #2845 from Hyperkid123/adjust-pdf-api
Hyperkid123 May 28, 2024
a4f0c62
Merge branch 'master' into test-full-text-search
Hyperkid123 May 28, 2024
a6f2ca1
Fixed title and route in Notifications menu
radekkaluzik May 28, 2024
e7a8e07
Merge pull request #2847 from radekkaluzik/RHCLOUD-32790
Hyperkid123 May 28, 2024
660f391
Merge branch 'master' into test-full-text-search
Hyperkid123 May 28, 2024
5b5ce55
Merge pull request #2841 from Hyperkid123/test-full-text-search
Hyperkid123 May 28, 2024
7e056c5
Merge branch 'master' into fe-request-origin-header
Hyperkid123 May 29, 2024
ca96800
Migrate gateway error state from redux to Jotai.
Hyperkid123 Feb 21, 2024
7c34fb4
Remove .only from cy component tests.
Hyperkid123 Feb 27, 2024
babf03a
Merge pull request #2773 from Hyperkid123/jotai-migration
Hyperkid123 May 29, 2024
99e33bc
Merge branch 'master' into fe-request-origin-header
Hyperkid123 May 29, 2024
e8daa00
Merge pull request #2844 from Hyperkid123/fe-request-origin-header
Hyperkid123 May 29, 2024
3c14bab
Make year in footers update automatically
fhlavac May 30, 2024
b38656f
Inject UI header only in hcc scope.
Hyperkid123 May 30, 2024
84a66e9
Merge pull request #2853 from Hyperkid123/scope-header
Hyperkid123 May 30, 2024
8d3aebb
Merge branch 'master' into year
fhlavac May 30, 2024
5c386ea
Merge pull request #2852 from fhlavac/year
Hyperkid123 May 30, 2024
5f22f17
Enable scoped UI id header to same origin.
Hyperkid123 May 31, 2024
a46d337
Add token refresh test
Hyperkid123 Jun 3, 2024
f1dc977
Merge pull request #2854 from Hyperkid123/header-take-2
Hyperkid123 Jun 4, 2024
c725cfa
Update VirtualAssistant.tsx
ryelo Jun 5, 2024
99ef0aa
lint
ryelo Jun 5, 2024
ff2f852
Merge pull request #2858 from RedHatInsights/RHCLOUD-33113
Hyperkid123 Jun 5, 2024
97922be
Fix drawer background color
epwinchell Jun 10, 2024
6032eda
Merge pull request #2859 from epwinchell/fix_drawer_background
Hyperkid123 Jun 11, 2024
19729f0
add RHEL, Ansible, and OpenShift to services dropdown (#2855)
InsaneZein Jun 11, 2024
1731eef
Migrate notifications reducer to Jotai (#2857)
Hyperkid123 Jun 12, 2024
3af37c6
Jotai migration isFeedbackModalOpen (#2860)
JetyAdam Jun 14, 2024
93b4b48
Repair broken OIDC state.
Hyperkid123 Jun 14, 2024
bdf69e5
Merge pull request #2863 from Hyperkid123/state-reauth
Hyperkid123 Jun 14, 2024
2234d5b
Bump braces from 3.0.2 to 3.0.3
dependabot[bot] Jun 16, 2024
24026e7
Merge pull request #2865 from RedHatInsights/dependabot/npm_and_yarn/…
Hyperkid123 Jun 17, 2024
6891edb
Hide OpenShift VA behind a feature flag.
Hyperkid123 Jun 18, 2024
45d02dc
Merge pull request #2867 from Hyperkid123/disable-ocp-ins-va
Hyperkid123 Jun 18, 2024
93f09bd
Bump ws from 7.5.9 to 7.5.10
dependabot[bot] Jun 18, 2024
fb69ba6
enable marking as read in the notification drawer
CodyWMitchell Jun 14, 2024
1873fab
Merge pull request #2868 from RedHatInsights/dependabot/npm_and_yarn/…
Hyperkid123 Jun 19, 2024
3e3b812
Init internal preview flag from chrome service.
Hyperkid123 May 14, 2024
38f24b8
Update unleash preview context on preview toggle.
Hyperkid123 May 14, 2024
7b06ef8
Use internal preview state where ever possible.
Hyperkid123 May 14, 2024
2913f39
Force reload Scalprum route component on preview change
Hyperkid123 May 14, 2024
632bd2d
Fix unleash circular dependency issues.
Hyperkid123 May 15, 2024
34dfe7a
Fix missing context in cypress component tests.
Hyperkid123 May 20, 2024
d4ed4b7
Adress PR feedback.
Hyperkid123 May 22, 2024
88212d3
Merge pull request #2835 from Hyperkid123/end-preview
Hyperkid123 Jun 19, 2024
e960e79
Merge branch 'master' into jotai_notif_drawer
karelhala Jun 19, 2024
c917bfe
docs: Add documentation on local search development
gkarat Jun 19, 2024
2dc2070
Update patternfly quickstarts
randomnetcat Jun 20, 2024
2099bfd
Fix protocol separator
randomnetcat Jun 20, 2024
5924048
handle drawer read in default test
CodyWMitchell Jun 24, 2024
c794994
Merge pull request #2869 from gkarat/update-search-docs
Hyperkid123 Jun 26, 2024
6884ccf
Merge branch 'master' into quickstarts-update
Hyperkid123 Jun 26, 2024
088a7b8
Merge pull request #2870 from RedHatInsights/quickstarts-update
Hyperkid123 Jun 26, 2024
d9cba3c
Merge pull request #2862 from CodyWMitchell/jotai_notif_drawer
Hyperkid123 Jun 26, 2024
c973f06
Duplicate FF context before updating preview env.
Hyperkid123 Jun 26, 2024
3605216
'Manage this event' link presets the right bundle tab and configurati…
radekkaluzik Jun 13, 2024
87488b4
Merge pull request #2873 from Hyperkid123/feature-flags-init
Hyperkid123 Jun 26, 2024
a186001
Merge branch 'master' into RHCLOUD-29374
karelhala Jun 27, 2024
d17fb3d
Merge pull request #2861 from radekkaluzik/RHCLOUD-29374
Hyperkid123 Jun 27, 2024
f369436
Jotai migration activeApp
Jun 14, 2024
a49ea34
Update activeApp atoms and tests
Jun 27, 2024
b580aa9
Fix CI bugs
Jun 27, 2024
65d6566
Relog user after JWT token expired.
Hyperkid123 Jun 18, 2024
8367904
Remove old code
Jun 28, 2024
28987ee
Merge branch 'master' into last-visited-debugging
Hyperkid123 Jun 28, 2024
c30af18
Add space
Jun 28, 2024
7f55da4
Update minor dependecy versions.
Hyperkid123 Jun 28, 2024
d624293
Merge pull request #2874 from Hyperkid123/last-visited-debugging
Hyperkid123 Jun 28, 2024
72f159c
Merge branch 'master' into update-pf
Hyperkid123 Jun 28, 2024
9b05c69
Merge pull request #2866 from JetyAdam/jotai_migration_activeApp
Hyperkid123 Jun 28, 2024
b1da582
Merge branch 'master' into update-pf
Hyperkid123 Jun 28, 2024
258dfb0
Merge branch 'master' into readme-service-update
Hyperkid123 Jun 28, 2024
eb7bd81
Merge pull request #2871 from RedHatInsights/readme-service-update
Hyperkid123 Jun 28, 2024
9e6647e
Merge pull request #2876 from Hyperkid123/update-pf
Hyperkid123 Jun 28, 2024
1e6933f
Bump ws from 7.5.9 to 7.5.10
dependabot[bot] Jun 28, 2024
d01ed0e
Send user to User access overview
karelhala Jun 28, 2024
8eb267c
Use stricter to rule to patch hac link targets.
Hyperkid123 Jun 28, 2024
67d7d4a
Merge pull request #2878 from RedHatInsights/dependabot/npm_and_yarn/…
Hyperkid123 Jun 28, 2024
379a7a1
Merge pull request #2879 from karelhala/proper-user-access
Hyperkid123 Jul 1, 2024
4349edb
Merge pull request #2880 from Hyperkid123/hac-redirect-issues
Hyperkid123 Jul 1, 2024
39abe8b
Evaluate search results visibility.
Hyperkid123 Jul 1, 2024
c486db8
Disable VA for itless envs
florkbr Jul 1, 2024
7697151
Add preview docs.
Hyperkid123 Jul 1, 2024
868fdce
Merge pull request #2882 from Hyperkid123/preview-docs
Hyperkid123 Jul 2, 2024
0c325d0
Merge branch 'master' into dynamic-search-services-visibility
Hyperkid123 Jul 2, 2024
400561e
Merge branch 'master' into disable-va-for-itless
florkbr Jul 2, 2024
fcd34e0
Merge pull request #2885 from florkbr/disable-va-for-itless
Hyperkid123 Jul 2, 2024
b0f8908
Update empty state styling
epwinchell Jul 2, 2024
1bf0c0f
Set up global learning resources page
Jul 2, 2024
d45a557
Merge pull request #2886 from JetyAdam/setup_global_learning_resource…
Hyperkid123 Jul 2, 2024
2aa8665
lint fix
epwinchell Jul 2, 2024
141917f
Merge branch 'master' into fav_empty_fix
epwinchell Jul 2, 2024
aec3115
new empty state; change notification limit to 50 (#2884)
InsaneZein Jul 3, 2024
8320c8a
Update wait on host value.
Hyperkid123 Jul 3, 2024
d792f61
Merge pull request #2890 from Hyperkid123/e2e-script
Hyperkid123 Jul 3, 2024
e344542
fix: set rhel8 label
Victoremepunto Jul 3, 2024
8f4c9f5
Filter in notifications drawer (#2875)
CodyWMitchell Jul 4, 2024
73d3bf0
Add mark-down to notifications drawer
radekkaluzik Jul 3, 2024
7a19bed
Merge pull request #2891 from radekkaluzik/RHCLOUD-29370
aneelac22 Jul 4, 2024
fbed933
Update URL params for notitication items to point to its configuratio…
radekkaluzik Jul 3, 2024
47c6291
Merge branch 'master' into dynamic-search-services-visibility
Hyperkid123 Jul 8, 2024
7f38a99
Merge branch 'master' into fav_empty_fix
epwinchell Jul 8, 2024
1284103
Expose WS subscription chrome API.
Hyperkid123 Jul 8, 2024
dc1bbd1
Merge pull request #2888 from epwinchell/fav_empty_fix
fhlavac Jul 8, 2024
7ebd65c
Merge pull request #2889 from radekkaluzik/RHCLOUD-29374-CHROME
Hyperkid123 Jul 8, 2024
15e35e5
Merge branch 'master' into ws-subs
Hyperkid123 Jul 8, 2024
8b966b4
Revert "Update empty state styling"
epwinchell Jul 8, 2024
fd7197c
Merge pull request #2894 from RedHatInsights/revert-2888-fav_empty_fix
epwinchell Jul 8, 2024
d4da42d
Update empty state styling
epwinchell Jul 9, 2024
2c4a8f7
Update EmptyState.scss
epwinchell Jul 9, 2024
32093b9
Merge branch 'master' into ws-subs
Hyperkid123 Jul 9, 2024
27faaf5
lint fix
epwinchell Jul 9, 2024
eb7eae8
Merge pull request #2895 from epwinchell/empty2
Hyperkid123 Jul 10, 2024
2167305
Merge branch 'master' into ws-subs
Hyperkid123 Jul 11, 2024
46ed661
Merge pull request #2893 from Hyperkid123/ws-subs
Hyperkid123 Jul 11, 2024
978a0dd
Merge pull request #2892 from Victoremepunto/fix-agent-label
Hyperkid123 Jul 11, 2024
46f5fe7
Merge branch 'master' into dynamic-search-services-visibility
Hyperkid123 Jul 11, 2024
36406f6
Merge pull request #2883 from Hyperkid123/dynamic-search-services-vis…
Hyperkid123 Jul 11, 2024
ef7ba6c
Remove unnecessary icon margins if no icon present
jschuler Jul 11, 2024
c5aab88
Merge Chrome global error boundaries into one.
Hyperkid123 Jul 18, 2024
a545c27
Merge pull request #2899 from Hyperkid123/merge-error-boundaries
Hyperkid123 Jul 18, 2024
c4a54c3
update snapshots
jschuler Jul 18, 2024
a6dde4b
Merge branch 'master' into icon-spacing
jschuler Jul 18, 2024
5ab9ad3
Merge pull request #2896 from jschuler/icon-spacing
Hyperkid123 Jul 19, 2024
78b3589
Use suspense loader utility from FEC utils.
Hyperkid123 Jul 19, 2024
9f951a6
Merge pull request #2900 from Hyperkid123/use-suspense-loader
Hyperkid123 Jul 19, 2024
24beadf
Limit WS connection retries.
Hyperkid123 Jul 23, 2024
74c258b
Merge pull request #2902 from Hyperkid123/limit-retry-connection
Hyperkid123 Jul 23, 2024
cedd86c
Move debugger redux state to Jotai.
Hyperkid123 Jul 23, 2024
6b44d6e
Move cross request notifier state to Jotai.
Hyperkid123 Jul 23, 2024
5c3aa59
Gate WS onclose retry connection.
Hyperkid123 Jul 23, 2024
648c4c4
Merge pull request #2904 from Hyperkid123/gate-close-connection
Hyperkid123 Jul 23, 2024
0400c9b
Merge branch 'master' into jotai-migration
Hyperkid123 Jul 23, 2024
90ecd1e
chore: add OUIAs for main links in all-services dropdown
apinkert Jul 23, 2024
853cc4c
Merge pull request #2905 from RedHatInsights/add-ouias
florkbr Jul 23, 2024
8414494
Merge branch 'master' into jotai-migration
Hyperkid123 Jul 24, 2024
8205b30
Merge pull request #2903 from Hyperkid123/jotai-migration
Hyperkid123 Jul 24, 2024
5fd849e
Reduce amount of search highlighting (#2907)
randomnetcat Jul 25, 2024
bf9966d
Decrease spacing between search item title/description (#2908)
randomnetcat Jul 29, 2024
1471b6e
Migrate chrome navigation state to Jotai. (#2906)
Hyperkid123 Jul 29, 2024
2a12183
Migrate quickstarts state to Jotai.
Hyperkid123 Jul 29, 2024
555a790
Merge pull request #2909 from Hyperkid123/jotai-migration
Hyperkid123 Jul 29, 2024
af0b985
Remove obsolete document title redux state.
Hyperkid123 Jul 29, 2024
5176bc2
Merge pull request #2911 from Hyperkid123/jotai-migration
Hyperkid123 Jul 29, 2024
165b6f8
Remove obsolete initial hash state variable.
Hyperkid123 Jul 29, 2024
576ed3c
Migrate active product Redux state to Jotai.
Hyperkid123 Jul 29, 2024
d1b7b70
Remove obsolete IDP checker.
Hyperkid123 Jul 29, 2024
c8d8fbd
Move page attributes state from Redux to Jotai.
Hyperkid123 Jul 29, 2024
19bf606
Remove empty chrome reducer.
Hyperkid123 Jul 29, 2024
3e189dd
Merge pull request #2912 from Hyperkid123/jotai-migration
Hyperkid123 Jul 30, 2024
adba3fe
Remove preview release.
Hyperkid123 Jul 31, 2024
71fd911
Merge pull request #2913 from Hyperkid123/preview-release
Hyperkid123 Aug 1, 2024
8ab13b7
Catch on hold account error globally.
Hyperkid123 Aug 8, 2024
6394f6c
Allow additional support case configuration.
Hyperkid123 Aug 13, 2024
108c873
Merge branch 'master' into support-case-data
Hyperkid123 Aug 13, 2024
d5f7cc7
Merge pull request #2916 from Hyperkid123/support-case-data
Hyperkid123 Aug 13, 2024
59e67df
Merge branch 'master' into account-on-hold-error-screen
Hyperkid123 Aug 13, 2024
fde3cd0
Merge pull request #2915 from Hyperkid123/account-on-hold-error-screen
Hyperkid123 Aug 13, 2024
e2d4f88
Add missing scalprum core to shared scope.
Hyperkid123 Aug 14, 2024
ed81ae1
Merge pull request #2918 from Hyperkid123/add-missing-core-to-shared-…
Hyperkid123 Aug 14, 2024
d6da3d2
Add option to disable PF4 styling.
Hyperkid123 Aug 15, 2024
59b75a9
Merge pull request #2919 from Hyperkid123/pf4-debug-flag
Hyperkid123 Aug 15, 2024
45e2e25
Update Ansible title in Services dropdown
epwinchell Aug 15, 2024
c3ad6ab
Merge pull request #2920 from epwinchell/ansible_fix
Hyperkid123 Aug 16, 2024
42b9212
Add an ouia ID for iqe-core to consume
catastrophe-brandon Aug 20, 2024
92fe555
Update snapshot
catastrophe-brandon Aug 20, 2024
4017ccb
Merge pull request #2921 from catastrophe-brandon/btweed/ouia-for-pre…
Hyperkid123 Aug 22, 2024
ba14e42
Allow permission methods on UI module routes.
Hyperkid123 Aug 26, 2024
2a9a097
Update webpack to version 5.94.0
depfu[bot] Aug 27, 2024
c4ae95d
Merge pull request #2924 from RedHatInsights/depfu/update/npm/webpack…
Hyperkid123 Aug 28, 2024
6d26570
Add new beta switcher banner.
Hyperkid123 Aug 13, 2024
c102fd6
Merge branch 'master' into data-fetching-demo
Hyperkid123 Aug 28, 2024
3f17761
Merge pull request #2917 from Hyperkid123/data-fetching-demo
Hyperkid123 Aug 28, 2024
97b4f90
Merge branch 'master' into route-permissions
Hyperkid123 Aug 28, 2024
f27b27a
Merge pull request #2923 from Hyperkid123/route-permissions
Hyperkid123 Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 0 additions & 23 deletions .babelrc

This file was deleted.

54 changes: 54 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
module.exports = {
extends: '@redhat-cloud-services/eslint-config-redhat-cloud-services',
globals: {
insights: 'writable',
},
rules: {
'sort-imports': [
2,
{
ignoreDeclarationSort: true,
},
],
},
overrides: [
{
files: ['**/*.ts', '**/*.tsx', '**/*.js'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
'react/prop-types': 'off',
'@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true, args: 'after-used' }],
'@typescript-eslint/no-explicit-any': 'warn',
'no-restricted-imports': [
'error',
{
// restrict importing auth packages methods directly
// Use of the ChromeAuthContext must be enforced
paths: [
{
name: 'react-oidc-context',
message: 'Do not import react-oidc-context directly. Use the ChromeAuthContext instead!',
},
{
name: 'oidc-client-ts',
message: 'Do not import oidc-client-ts directly. Use the ChromeAuthContext instead!',
},
],
patterns: [
{
group: ['**/cognito/*'],
message: 'Do not import cognito auth methods directly. Use the ChromeAuthContext instead!',
},
{
group: ['**/OIDCConnector/utils'],
message: 'Do not OIDC auth utils directly. Use the ChromeAuthContext instead!',
},
],
},
],
},
},
],
};
4 changes: 0 additions & 4 deletions .eslintrc.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence.
* @Hyperkid123 @ryelo @karelhala @florkbr
35 changes: 35 additions & 0 deletions .github/workflows/dev-beta-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Dev beta build deployment

on:
workflow_run:
workflows:
- CI
types:
- completed
branches:
- master

jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node setup
uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: 'npm'
# cache node modules for all jobs to use
- uses: actions/cache@v3
id: node_modules-cache
with:
path: |
**/node_modules
/home/runner/.cache/Cypress
/home/runner/build
key: install-cache-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i # use cached modules
- run: BETA=true npm run build:dev
# TODO: run the deployment script
35 changes: 35 additions & 0 deletions .github/workflows/dev-stable-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Dev stable build deployment

on:
workflow_run:
workflows:
- CI
types:
- completed
branches:
- master-stable

jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node setup
uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: 'npm'
# cache node modules for all jobs to use
- uses: actions/cache@v3
id: node_modules-cache
with:
path: |
**/node_modules
/home/runner/.cache/Cypress
/home/runner/build
key: install-cache-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i # use cached modules
- run: npm run build:dev
# TODO: run the deployment script
16 changes: 16 additions & 0 deletions .github/workflows/release-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
push:
branches:
- master

jobs:
pull-request-stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: pull-request
uses: repo-sync/pull-request@v2
with:
source_branch: "master"
destination_branch: "master-stable"
pr_title: "[stable] Update build"
119 changes: 119 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
name: CI

on:
push:
branches: [ master, master-stable ]
pull_request:
branches: [ master, master-stable ]

jobs:
# prerequisite for all jobs, install node modules only once
install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node setup
uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: 'npm'
# cache node modules for all jobs to use
- uses: actions/cache@v3
id: node_modules-cache
with:
path: |
**/node_modules
/home/runner/.cache/Cypress
key: install-cache-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i # use cached modules
# unit testing job
test-unit:
runs-on: ubuntu-latest
needs: [install]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node setup
uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: 'npm'
- uses: actions/cache@v3
id: node_modules-cache
with:
path: "**/node_modules"
key: install-cache-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i
- run: npm run test -- --coverage
- uses: codecov/codecov-action@v3
with:
files: ./coverage/clover.xml
# lint
lint:
runs-on: ubuntu-latest
needs: [install]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node setup
uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: 'npm'
- uses: actions/cache@v3
id: node_modules-cache
with:
path: "**/node_modules"
key: install-cache-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i
- run: npm run lint
# cypress component testing
test-e2e:
runs-on: ubuntu-latest
needs: [install]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node setup
uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: 'npm'
# consume installed modules
- uses: actions/cache@v3
id: node_modules-cache
with:
path: "**/node_modules"
key: install-cache-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
# custom cypress cache, caches cypress and cypress webpack node module dependencies based on lock file
- uses: actions/cache@v3
id: cypress-cache
with:
path: |
/home/runner/.cache/Cypress
**/.cypress-cache
key: cypress-install-cache-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- uses: cypress-io/github-action@v5
with:
component: true
install-command: npm i
# build job
build:
needs: [install]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node setup
uses: actions/setup-node@v3
with:
node-version: 18.12.1
cache: 'npm'
- uses: actions/cache@v3
id: node_modules-cache
with:
path: "**/node_modules"
key: install-cache-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- run: npm i
- run: npm run build
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build/
node_modules/
public/

#emacs
*[#]*[#]
Expand All @@ -21,3 +22,22 @@ Session.vim
.idea/
.vscode/
coverage/
.nyc_output
cypress-coverage
.yalc
yalc.lock

# cypress diff snapshots
cypress/**/*.diff.png
cypress/videos
cypress/screenshots

# cache
.cache
.webpack-cache
.cypress-cache
.sass-cache

#swc
.swc
.cypress_cache
34 changes: 18 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,42 @@
language: node_js
sudo: required
dist: jammy
notifications:
email: false
slack:
secure: 'd3g5oKl5kfzi2L96QTrj2g77lzLWzjnM6Ct2OTXRrk90GxxhwHS8RH4Q1IgBqkQjw68nkq7CNE9oAs+pt3si8kT4GQ164YLoTMVkDPBGOoOoMACPyanxQOEluUfdLEDIzChy/7EdlY3l1J2IM+lOK4e95jUwsT9BSXBsSladP++1EUiZfon9JcQSiSZa0e1/cVxLpEDuBB2cruUSTZ9sUATe/XZ0uH1EGzrooQJMkRgdty5UyNSsMxkvAY0Haivq8u9/gWAsLar0bA/90M5CVK7yohh9fY9UfTUbXVqwR3dFAXuW+SURrFVnPAX4FLZt/D09cg/CVCvoasiZdNi9RAeKOCfN+FoxB2ZJNnuM+4KDJX3dxnatd/stmEH1bcd75i4mh9zOWE1HX5d23HuZ4sKdDPpvhG3l7SpZfhLv0/EKL10ld9RdIaiTO2uPI3rsoyDeArzeV+09+dbB1iPKnS/3/Iw5KLhbew3mdJXKVfRk6KYcJySjT8EltrNy5Y7mty7/JzWssSpIpkMCnu6RGAtXO2v/jUfFm1WvsKK5BeH5efbLi1sjMNbVTeA3Bp8pvRPuw+50l94uDfeQ1HUTrq5zKXMUaG9dTdaYZX4fEDMmrbM1TLudjb9Xj4elaA5ioBH0gRFxAnSVTmrKFtFoCRVaqfmj3ceqxttCLUpkfvI='
node_js:
- '15'
- '18'
before_install:
- npm install -g npm@latest
install:
- npm ci
jobs:
include:
- stage: Lint
if: branch != nightly
script: npm run lint
- stage: Test
if: branch != nightly
script: npm run test && npx codecov
- stage: Deploy Stable
if: branch IN (master-stable, prod-stable, qa-stable, ci-stable) AND type != pull_request
name: deploy:stable
script: npm run circular && npm run lint && npm run test && npm run test:ct && npx codecov
- stage: Deploy prod-stable
if: branch = prod-stable AND type != pull_request
name: deploy:prod-stable
script: npm run build && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
- stage: Deploy Beta
if: branch IN (master, prod-beta, qa-beta) AND type != pull_request
name: deploy:beta
- stage: Deploy prod-beta
if: branch = prod-beta AND type != pull_request
name: deploy:prod-beta
script: npm run build:beta && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
- stage: Deploy Nightly
if: branch = nightly AND type != pull_request
name: deploy:nightly
script: npm run build && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
- stage: Deploy dev-stable
if: branch IN (master-stable, qa-stable, ci-stable) AND type != pull_request
name: deploy:dev-stable
script: npm run build:dev && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
- stage: Deploy dev-beta
if: branch IN (master, qa-beta) AND type != pull_request
name: deploy:dev-beta
script: BETA=true npm run build:dev && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
env:
global:
- REPO="git@github.com:RedHatInsights/insights-chrome-build"
- REPO_DIR="insights-chrome-build"
cache:
directories:
- "$HOME/.npm"
- ".cache"
- ".cache"
Loading
Loading