Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ESAP GUI
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
ESCAPE WP5
ESAP GUI
Commits
88d288b7
Commit
88d288b7
authored
4 years ago
by
Zheng Meyer
Browse files
Options
Downloads
Patches
Plain Diff
removed keyword and tap_schema input fields for query-registry step
parent
19635531
No related branches found
Branches containing commit
No related tags found
1 merge request
!3
Esap gui dev
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/components/query/QueryIVOARegistry.js
+5
-1
5 additions, 1 deletion
src/components/query/QueryIVOARegistry.js
src/contexts/GlobalContext.js
+1
-1
1 addition, 1 deletion
src/contexts/GlobalContext.js
src/contexts/IVOAContext.js
+9
-9
9 additions, 9 deletions
src/contexts/IVOAContext.js
with
15 additions
and
11 deletions
src/components/query/QueryIVOARegistry.js
+
5
−
1
View file @
88d288b7
...
...
@@ -128,7 +128,11 @@ export default function QueryIVOARegistry() {
console
.
log
(
"
Form Data:
"
,
formData
);
if
(
queryStep
===
"
run-query
"
)
{
uiSchemaProp
.
uiSchema
=
{
query
:
{
"
ui:widget
"
:
"
textarea
"
}
};
uiSchemaProp
.
uiSchema
=
{
query
:
{
"
ui:widget
"
:
"
textarea
"
},
keyword
:
{
"
ui:widget
"
:
"
hidden
"
},
tap_schema
:
{
"
ui:widget
"
:
"
hidden
"
},
};
console
.
log
(
"
new ui schema:
"
,
uiSchemaProp
);
return
(
<
Container
fluid
>
...
...
This diff is collapsed.
Click to expand it.
src/contexts/GlobalContext.js
+
1
−
1
View file @
88d288b7
...
...
@@ -8,7 +8,7 @@ export function GlobalContextProvider({ children }) {
console
.
log
(
"
ASTRON ESAP version 14 aug 2020
"
);
const
api_host
=
process
.
env
.
NODE_ENV
===
"
development
"
?
"
http://
localhost:15671
/esap-api/
"
?
"
http://
sdc.astron.nl:5555
/esap-api/
"
:
"
/esap-api/
"
;
const
[
config
,
setConfig
]
=
useState
();
...
...
This diff is collapsed.
Click to expand it.
src/contexts/IVOAContext.js
+
9
−
9
View file @
88d288b7
...
...
@@ -5,8 +5,8 @@ export const IVOAContext = createContext();
export
function
IVOAContextProvider
({
children
})
{
const
[
registryList
,
setRegistryList
]
=
useState
([]);
//
const [selectedRegistry, setSelectedRegistry] = useState([]);
//
const [queryStep, setQueryStep] = useState("get-services");
const
[
selectedRegistry
,
setSelectedRegistry
]
=
useState
([]);
const
[
queryStep
,
setQueryStep
]
=
useState
(
"
get-services
"
);
/*
IVOA query steps:
1. get-services
...
...
@@ -15,13 +15,13 @@ export function IVOAContextProvider({ children }) {
// For testing purpose
// start manual setup block
const
[
queryStep
,
setQueryStep
]
=
useState
(
"
run-query
"
);
const
[
selectedRegistry
,
setSelectedRegistry
]
=
useState
([
// "http://astron.nl/tap",
// "http://aip.gavo.org/tap",
// "http://archive.stsci.edu/caomtap",
"
http://vao.stsci.edu/CAOMTAP/TapService.aspx
"
,
]);
//
const [queryStep, setQueryStep] = useState("run-query");
//
const [selectedRegistry, setSelectedRegistry] = useState([
//
// "http://astron.nl/tap",
//
// "http://aip.gavo.org/tap",
//
// "http://archive.stsci.edu/caomtap",
//
"http://vao.stsci.edu/CAOMTAP/TapService.aspx",
//
]);
// end block
function
handleAddRegistry
(
access_url
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment