Skip to content

Commit

Permalink
Merge pull request #480 from lsst-ts/tickets/LOVE-199
Browse files Browse the repository at this point in the history
Move Authlist components to Observatory index
  • Loading branch information
MiaRoseElbo authored Jul 3, 2023
2 parents 0cf3538 + da36454 commit b78742a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 29 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
===============
Version History
===============
v5.22.1
--------

* Move Authlist components to Observatory index `<https://github.com/lsst-ts/LOVE-frontend/pull/480>`_

v5.22.0
--------
Expand Down
2 changes: 1 addition & 1 deletion love/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "love",
"version": "5.22.0",
"version": "5.22.1",
"private": true,
"dependencies": {
"@emotion/core": "^10.3.1",
Expand Down
48 changes: 20 additions & 28 deletions love/src/components/UIF/ComponentIndex.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,26 @@ export const observatoryIndex = {
},
},
},
SummaryAuthList: {
component: require('../AuthList/SummaryAuthList/SummaryAuthList.container').default,
schema: {
...require('../AuthList/SummaryAuthList/SummaryAuthList.container').schema,
props: {
...defaultSchemaProps,
...require('../AuthList/SummaryAuthList/SummaryAuthList.container').schema.props,
},
},
},
AdminAuthList: {
component: require('../AuthList/AdminAuthList/AdminAuthList.container').default,
schema: {
...require('../AuthList/AdminAuthList/AdminAuthList.container').schema,
props: {
...defaultSchemaProps,
...require('../AuthList/AdminAuthList/AdminAuthList.container').schema.props,
},
},
},
Scheduler: {
component: require('../Scheduler/Scheduler.container').default,
schema: {
Expand Down Expand Up @@ -514,29 +534,6 @@ const environmentIndex = {
},
};

export const authlistIndex = {
SummaryAuthList: {
component: require('../AuthList/SummaryAuthList/SummaryAuthList.container').default,
schema: {
...require('../AuthList/SummaryAuthList/SummaryAuthList.container').schema,
props: {
...defaultSchemaProps,
...require('../AuthList/SummaryAuthList/SummaryAuthList.container').schema.props,
},
},
},
AdminAuthList: {
component: require('../AuthList/AdminAuthList/AdminAuthList.container').default,
schema: {
...require('../AuthList/AdminAuthList/AdminAuthList.container').schema,
props: {
...defaultSchemaProps,
...require('../AuthList/AdminAuthList/AdminAuthList.container').schema.props,
},
},
},
};

export const utilitiesIndex = {
LabeledStatusText: {
component: require('../GeneralPurpose/LabeledStatusText/LabeledStatusText.container').default,
Expand Down Expand Up @@ -670,10 +667,6 @@ export const indexes = [
name: 'Environment',
index: environmentIndex,
},
{
name: 'Authlist',
index: authlistIndex,
},
{
name: 'Utilities',
index: utilitiesIndex,
Expand All @@ -689,7 +682,6 @@ export default {
...auxtelIndex,
...mainIndex,
...environmentIndex,
...authlistIndex,
...utilitiesIndex,
...internalIndex,
};

0 comments on commit b78742a

Please sign in to comment.