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

fix(ui): Correct Argo Events swagger #5490

Merged
merged 3 commits into from
Mar 24, 2021
Merged

fix(ui): Correct Argo Events swagger #5490

merged 3 commits into from
Mar 24, 2021

Conversation

alexec
Copy link
Contributor

@alexec alexec commented Mar 22, 2021

Screenshot of the error notice:
image

Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
/>
</div>
<div style={{paddingTop: '1em'}}>
{error && (
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move error to below editor so when they pop-up, editor does not jump down

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's frustrating when sites/apps don't consider these pop-ups and you end up clicking the wrong thing because the whole page shifts

@@ -28,7 +28,7 @@ export const EventSourceEditor = ({
{
key: 'manifest',
title: 'Manifest',
content: <ObjectEditor type='io.argoproj.eventsource.v1alpha1.EventSource' value={eventSource} onChange={x => onChange({...x})} />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes auto-complete

@codecov
Copy link

codecov bot commented Mar 22, 2021

Codecov Report

Merging #5490 (1a02fe9) into master (dfe6ceb) will decrease coverage by 0.02%.
The diff coverage is n/a.

❗ Current head 1a02fe9 differs from pull request most recent head f0a2855. Consider uploading reports for the commit f0a2855 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5490      +/-   ##
==========================================
- Coverage   46.68%   46.65%   -0.03%     
==========================================
  Files         240      240              
  Lines       14985    14985              
==========================================
- Hits         6995     6992       -3     
- Misses       7090     7092       +2     
- Partials      900      901       +1     
Impacted Files Coverage Δ
workflow/controller/operator.go 70.25% <0.00%> (-0.28%) ⬇️
cmd/argoexec/commands/emissary.go 50.00% <0.00%> (+1.56%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dfe6ceb...f0a2855. Read the comment docs.

Signed-off-by: Alex Collins <alex_collins@intuit.com>
@alexec alexec requested a review from simster7 March 24, 2021 17:13
@alexec alexec marked this pull request as ready for review March 24, 2021 17:13
@alexec alexec assigned simster7 and whynowy and unassigned whynowy Mar 24, 2021
Comment on lines -30 to -40
if (onChange) {
useEffect(() => {
if (isModified) {
try {
onChange(parse(text));
} catch (e) {
setError(e);
}
}
}, [text, isModified]);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much simpler now

/>
</div>
<div style={{paddingTop: '1em'}}>
{error && (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's frustrating when sites/apps don't consider these pop-ups and you end up clicking the wrong thing because the whole page shifts

@alexec alexec merged commit 80cea6a into master Mar 24, 2021
@alexec alexec deleted the dev-ui branch March 24, 2021 19:27
@alexec
Copy link
Contributor Author

alexec commented Mar 24, 2021

I hate that too. Pages that shift under your fingers has become a ubiquitous problem I think.

This was referenced Mar 29, 2021
simster7 pushed a commit that referenced this pull request Mar 30, 2021
@simster7 simster7 mentioned this pull request Apr 19, 2021
50 tasks
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.

You have to delete sample workflow twice to submit a workflow via the ui
3 participants