Skip to content

[11.0][IMP] attachment_preview: Split screen#194

Closed
tarteo wants to merge 6 commits into
OCA:11.0from
tarteo:11-attachment-preview-imp
Closed

[11.0][IMP] attachment_preview: Split screen#194
tarteo wants to merge 6 commits into
OCA:11.0from
tarteo:11-attachment-preview-imp

Conversation

@tarteo

@tarteo tarteo commented Nov 9, 2018

Copy link
Copy Markdown
Member

This PR adds a new functionality to the attachment_preview. When you open a preview from the attachments menu in the form view. It opens it in a split screen next to the form view:

image

@tarteo tarteo changed the title [11.0][IMP] attachment_preview: Splitted screen [11.0][IMP] attachment_preview: Split screen Nov 14, 2018
@tarteo
tarteo force-pushed the 11-attachment-preview-imp branch 3 times, most recently from b4490c1 to 111fe95 Compare November 14, 2018 16:09
@SalahAdDin

Copy link
Copy Markdown
Contributor

It looks very fine!!!

@pedrobaeza pedrobaeza added this to the 11.0 milestone Dec 11, 2018
@pedrobaeza

Copy link
Copy Markdown
Member

I think this should be configurable, or to have 2 icons: one for seeing it inline and another in the previous new tab behavior.

@tarteo

tarteo commented Dec 11, 2018

Copy link
Copy Markdown
Member Author

@pedrobaeza Currently the split screen always opens first. On the split screen there's a button to open it in a new tab. I can add an user preference (like 'Open attachment preview first in split screen') or an extra button to open it directly in a new tab.

@pedrobaeza

Copy link
Copy Markdown
Member

Yeah, I didn't want to lose the option to open it in a new tab.

@tarteo

tarteo commented Dec 11, 2018

Copy link
Copy Markdown
Member Author

I'll make an user preference. So people who never want to use the split screen can open the attachment in a tab with only one click.

@hbrunn hbrunn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

cool! I'm just not very good with UI stuff, and am happy when others fix this then. I'll merge after you've rebased

@SalahAdDin

Copy link
Copy Markdown
Contributor

@tarteo Man 👍

@astirpe

astirpe commented Jan 10, 2019

Copy link
Copy Markdown
Member

Can you rebase to resolve the conflict?

tarteo and others added 6 commits January 10, 2019 09:41
[FIX] Grammar splitted > split

[ADD] Extra open in new tab button
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
@tarteo

tarteo commented Jan 10, 2019

Copy link
Copy Markdown
Member Author

I failed. I'll make a new PR. #200

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.

6 participants