-
Notifications
You must be signed in to change notification settings - Fork 263
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
View raw message source #2264
View raw message source #2264
Conversation
I'll try to find some time to look into this and see where we should put the logic. Hacking it into the existing already quite complex logic won't be the best choice in the long run. #2214 and #2064 will clean some of that logic up. We might want to wait with this feature until these large features are done 🙌 Hope this makes sense ✌️ |
Design-wise:
|
Fixed |
Just a note @StCyr, since you are member of our organization on Github, you can also just work on branches of the main repository and don’t need a fork. :) This has the advantage that if any changes are needed or you want to hand over a pull request, other contributors can continue. |
I let you devise if some refactoring is needed. But, for me, it's done. |
That's not true anymore. For a long time they changed this and you can now (unless explicitly opted out) push to the PR's fork branch as a maintainer of the destination repo. I use this regularly to clean up external contributor's branches. It works just fine adding the other user's fork as new git remote and pushing there. |
Still much more complicated than a simple branch change. ;) All about removing the small barriers. |
Nice! :) For me just 2 things are missing:
|
I've done this but Modal components don't have a vertical scrollbar and as such can't display the whole content :-( |
Oh they don’t? I guess only the filepicker component has that. But the modal component should for sure have that. Could you try adding Also cc @skjnldsv @juliushaertl on how we could do this properly in the component – should be possible of course to have modals with scrollbar? |
The idea is that the modal size fits to the content size so it is more flexible to be used with a fixed content size like in the image viewer. Adding the scollbars with CSS in the apps scope is fine I'd say. |
Right, I’m also thinking about e.g. the keyboard shortcuts list and the account settings. Both of these would work a bit better in a modal than the display they use right now, with left navigation still visible. But not fully relevant to this pull request, will open an issue in the components repo. |
it seems that the component applies a |
That’s because the style in the component is more specific as it has 2 classes. :) Simply change your rule to Oh and yeah, only use overflow**-y** as we don’t want horizontal (-x) scrolling. :) |
Yeah, indeed, I think the I'll try to make use of that |
Ok, good for me |
You can use getFullMsg in MessageMapper, though :)
Then my latest update to this PR might be good now :)
… Le 10 févr. 2020 à 17:40, Christoph Wurst ***@***.***> a écrit :
You can use getFullMsg in MessageMapper, though :)
|
I'm not sure, tbh. I tried to read the diff. But something is wrong with the commits. Could you please try to clean that up, so it's just one commit with your changes? :) You moved the method from the message to the mapper, but the logic was unchanged. IMO it should be one dedicated method for the message source. We should not hack this into any other method. And the returned value shouldn't be an IMAPMessage but just a string, no? Also, in the controller you don't have to catch all possible exceptions. It's fine to let some bubble up with the controller method is annotated with |
I think I've corrupted my mail cache. Is there some command to reset it? |
Looks like it lost recipients? What happens if you refresh the page? |
Refreshing the page doesn't help :) bah. It's okay now. I only have 2 more interesting emails left in this state. |
So it was just a temporary bug? Or what do you mean by that? Just to be clear: it's possible to clear the cache by dropping some data. But I'd really like to identify the problem first as this should be fixed before the release 😬 |
Oh, yes, I think it was due to a change I made while working on this PR. Change that I have now reverted.
So, no need to clear the cache anymore, for what I'm concerned. Thanks :) |
Awesome 🙏 |
I think you might like this PR better now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks indeed fine :) Just a few more nitpicks :)
Pushed a few minor fixes
|
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this :)
Should fix #2221
TODO: