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

Improve loading routine of editors #2528

Merged
merged 2 commits into from
Sep 2, 2020

Conversation

georgehrke
Copy link
Member

@georgehrke georgehrke commented Aug 31, 2020

fixes #2459
fixes #2187

also removes the ugly v-if/v-show hack.

Before After
before_popover after_popover
before_sidebar after_sidebar

This assures that the textarea will always have the correct size,
even when used in the appsidebar.

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
@georgehrke georgehrke added the 2. developing Work in progress label Aug 31, 2020
@codecov
Copy link

codecov bot commented Aug 31, 2020

Codecov Report

Merging #2528 into master will increase coverage by 0.04%.
The diff coverage is 18.90%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2528      +/-   ##
============================================
+ Coverage     30.00%   30.04%   +0.04%     
- Complexity      103      116      +13     
============================================
  Files           149      153       +4     
  Lines          5356     5451      +95     
  Branches        802      803       +1     
============================================
+ Hits           1607     1638      +31     
- Misses         3749     3813      +64     
Flag Coverage Δ Complexity Δ
#javascript 24.58% <0.00%> (-0.31%) 0.00 <0.00> (ø)
#php 94.15% <88.57%> (-0.26%) 116.00 <13.00> (+13.00) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
lib/AppInfo/Application.php 0.00% <0.00%> (ø) 3.00 <2.00> (+2.00)
src/components/CalendarGrid.vue 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
src/components/Editor/Properties/PropertyText.vue 0.00% <ø> (ø) 0.00 <0.00> (ø)
src/dashboard.js 0.00% <0.00%> (ø) 0.00 <0.00> (?)
src/directives/autosize.js 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
src/mixins/EditorMixin.js 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
src/views/Calendar.vue 0.00% <ø> (ø) 0.00 <0.00> (ø)
src/views/Dashboard.vue 0.00% <0.00%> (ø) 0.00 <0.00> (?)
src/views/EditSidebar.vue 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
src/views/EditSimple.vue 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
... and 6 more

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 bc6010b...a77df0c. Read the comment docs.

@georgehrke georgehrke force-pushed the bugfix/2459/sidebar_loading_error_handling branch from d431728 to b16f5b7 Compare September 1, 2020 08:30
@georgehrke georgehrke added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Sep 1, 2020
@georgehrke
Copy link
Member Author

We should add more detailed error messages later, like:

  • Calendar does not exist
  • Event exist, but linked recurrence is not valid (maybe with a link to just go to the next occurrence)
  • Event does not exist

But that's something for a follow up PR :)

@georgehrke georgehrke mentioned this pull request Sep 1, 2020
Copy link
Member

@raimund-schluessler raimund-schluessler left a comment

Choose a reason for hiding this comment

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

Works as it should. Just a minor comment.

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
@georgehrke georgehrke force-pushed the bugfix/2459/sidebar_loading_error_handling branch from b16f5b7 to a77df0c Compare September 2, 2020 17:45
@georgehrke georgehrke merged commit 8178f14 into master Sep 2, 2020
@delete-merged-branch delete-merged-branch bot deleted the bugfix/2459/sidebar_loading_error_handling branch September 2, 2020 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show "Event not found" when an event is not available Long description box on 2.0.3
3 participants