You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Story:
Given a phoenix plugin registers a new file action for text files
And a user is logged in
When the user clicks on new file action (UX to be defined)
Then a dialog/context pops up which lists new files including for text files
When the user enters the new file name and hits enter
Then phoenix core creates the file
And the app code is triggered which opens the file in some editor
From a design POV, for now the easiest is to append whatever registered file types are available directly into the dropdown. Any other UX would be more time costy and require thinking about maybe selecting the file type inside the dialog prompt, or something else.
The way we are building this has an impact on the api on how apps register themselves ... as far as I can tell ...
So we need to accept some duplicate effort here ....
the text will be interesting - in case of menu entry (like above) - the api requires a function which returns the translated full text.
'New Microsoft Word document..' -> 'Neues Microsoft Word Dokument...'
We cannot translate only parts of the text.
In case we go for a different approach the text appears in a different context and might look totally different.
Indeed. But to prevent blocking ourselves we could call this extension point "beta" or "tech preview" to have no stability guarantee but still allow prototyping. The text is likely the least difficult part.
Activity
DeepDiver1975 commentedon Jan 11, 2019
PVince81 commentedon Sep 24, 2019
We're also missing the extension point to allow for apps to provide additional file types.
For example:
PVince81 commentedon Sep 24, 2019
PVince81 commentedon Sep 24, 2019
From a design POV, for now the easiest is to append whatever registered file types are available directly into the dropdown. Any other UX would be more time costy and require thinking about maybe selecting the file type inside the dialog prompt, or something else.
[-]Create new file[/-][+]Create new file + extension point[/+]DeepDiver1975 commentedon Sep 27, 2019
is this what we want to have? @PVince81 @pmaier1 @LukasHirt
LukasHirt commentedon Sep 27, 2019
I'm not really a fan of how huge is the dropdown becoming but as @PVince81 wrote
For now 👍 from me. Let's invest more time later to find a better way.
DeepDiver1975 commentedon Sep 27, 2019
The way we are building this has an impact on the api on how apps register themselves ... as far as I can tell ...
So we need to accept some duplicate effort here ....
PVince81 commentedon Sep 27, 2019
We could also raise the priority for getting design input on this item before desigining the API.
From my POV it will mostly be about registering an icon, a text and an action handler.
DeepDiver1975 commentedon Sep 27, 2019
the text will be interesting - in case of menu entry (like above) - the api requires a function which returns the translated full text.
'New Microsoft Word document..' -> 'Neues Microsoft Word Dokument...'
We cannot translate only parts of the text.
In case we go for a different approach the text appears in a different context and might look totally different.
PVince81 commentedon Sep 27, 2019
Indeed. But to prevent blocking ourselves we could call this extension point "beta" or "tech preview" to have no stability guarantee but still allow prototyping. The text is likely the least difficult part.
DeepDiver1975 commentedon Oct 24, 2019
with #2111 being merged - can we close this - or am I missing anything? THX
@PVince81 @LukasHirt
LukasHirt commentedon Oct 24, 2019
IMO yes
Merge pull request #274 from opencloud-eu/renovate/eslint-plugin-n-17…