bakes82 167 Posted February 25, 2025 Posted February 25, 2025 @softworkzHave you added a simple way to display a popup like how throwing an alert displays a simple popup? Also looking for a simple progress bar (infinity spinner is fine) could be like a spacer item, just make visible when needed. Also can we have an option to make the plugin take up full width on the main page, it sems to only be taking up 50%, or did I miss something because you have full width as an example of a popup
softworkz 5066 Posted February 26, 2025 Posted February 26, 2025 14 hours ago, bakes82 said: Also looking for a simple progress bar (infinity spinner is fine) could be like a spacer item, just make visible when needed. The two way for displaying progress bars are StatusItem or GenericListItem. You can make a status item visible based on another property (which you can control from code. 14 hours ago, bakes82 said: Also can we have an option to make the plugin take up full width on the main page, it sems to only be taking up 50%, or did I miss something because you have full width as an example of a popup Already possible: public DialogsPageView(PluginInfo pluginInfo) : base(pluginInfo.Id) { this.DialogSize = DialogSize.FullScreen; this.CompactViewAppearance = CompactViewAppearance.UseAllScreenSpace; } 14 hours ago, bakes82 said: Have you added a simple way to display a popup like how throwing an alert displays a simple popup? For showing something manually, a Dialog with Emby SDK Reference: DialogSize.Small is the best you can get. Then, for all buttons, there's the Emby SDK Reference: ButtonItem.ConfirmationPrompt property. When you add any text there, user will get an OK/Cancel prompt when clicking the button (showing that text)
bakes82 167 Posted March 3, 2025 Author Posted March 3, 2025 On 2/26/2025 at 9:47 AM, softworkz said: Already possible: public DialogsPageView(PluginInfo pluginInfo) : base(pluginInfo.Id) { this.DialogSize = DialogSize.FullScreen; this.CompactViewAppearance = CompactViewAppearance.UseAllScreenSpace; } Doesnt this only apply to dialogs? Im talking about the PluginViewBase page, I dont want to have to open something in a dialog. This seems to be the issue
softworkz 5066 Posted March 3, 2025 Posted March 3, 2025 You declare the content but the presentation is on the side of Emby. It makes sure that it is presented in the best way on phones, tablets, desktop and TV. You cannot change that.
bakes82 167 Posted March 3, 2025 Author Posted March 3, 2025 9 hours ago, softworkz said: best way But it doesn't present it in the best way on desktops. On desktop it is forced to whatever your max is, which isnt very dynamic, nor does it scale well. Like why does the "dashboard" have 100% width but my plugin cant. Id even go for an option that says this plugin can only be used on desktop just so I can have 100% width, though Im not sure what the point of having 80char max is for desktop, is 1990 calling? vs
softworkz 5066 Posted March 3, 2025 Posted March 3, 2025 This is the pattern that works and that we are using for the grid: DX_Grid_Dialog.mp4 That's all I have to offer. There's a way to add buttons to the bottom bar, but it might be broken by the oversized button. Don't know the current state, I've proposed a number of fixes but there was no agreement and then I gave it up.
bakes82 167 Posted March 3, 2025 Author Posted March 3, 2025 7 minutes ago, softworkz said: Don't know the current state, I've proposed a number of fixes but there was no agreement and then I gave it up. Sad, seems to be the state of Emby though lol.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now