Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Multiple server support #12

Open
3 of 4 tasks
lloeki opened this issue Oct 31, 2015 · 5 comments
Open
3 of 4 tasks

Multiple server support #12

lloeki opened this issue Oct 31, 2015 · 5 comments
Assignees
Milestone

Comments

@lloeki
Copy link
Owner

lloeki commented Oct 31, 2015

This will be MDI (for now) as window management is best handled by the native OS.

  • File -> New server opens a new unconfigured window
  • Configuring the window persists the URL in an array config.json
  • At startup, read config and create one window per server entry
  • Old, non-array config should be migrated to new format

No tabs for now, since the OS is perfectly apt at managing windows (Exposé and rick click on Dock icon, Taskbar on Win7+, Ubuntu panel, Gnome 3 overlay and dock...)

@lloeki lloeki modified the milestone: v1.1 Oct 31, 2015
@LongLiveCHIEF
Copy link
Contributor

I have a huge user base already forming... and they definitely want tabs for teams. If you want, we can focus on that piece of this task.

@LongLiveCHIEF
Copy link
Contributor

At startup, read config and create one window per server entry

✅ got this covered

Old, non-array config should be migrated to new format

✅ got this covered already also

PR for these should come in sometime in the next 24 hours (likely less)

@lloeki
Copy link
Owner Author

lloeki commented Nov 5, 2015

I have a huge user base already forming

Great!

and they definitely want tabs for teams

My vision was to have something simple: one window per configured URL (typically a Mattermost server, pointing straight to a team for convenience) and doing team switching from the usual Mattermost UI by clicking on the team name.

I'm not against tabs at all, but having windows instead of tabs is really a feature here for me, so make sure to support that. Having it be a mode (always one-tab-per-item vs always one-window-per-item, where item is server/team/configured url, and possibly requiring an app quit and restart to switch between the mode) is fine for me if it makes things simpler. If it's not a mode, maybe making the config a freeform tree of windows down to tabs could be fine:

# create three windows, one with three tabs for team{1,2,3}, one with two tabs for another server, and one which holds two servers
- - foo.server.com/team1
  - foo.server.com/team2
  - foo.server.com/team3
- - bar.server.com/team1
  - bar.server.com/team2
- - baz.server.com/team
  - qux.server.com/team

@LongLiveCHIEF
Copy link
Contributor

I think we're thinking mostly the same thing here. I think about it in terms of "organizations" (which is a feature I'm hoping to PR to mattermost itself), whereby one base mattermost url is equivalent to one Window... and then any teams configured on that mattermost instance would be accessible within tabs of that window.

Aside from the direct link to a team, I think we're discussing the same thing right?

My use case is such:

Say I'm the IT operations admin for an enterprise. I want to build and distribute matterfront against a single enterprise-wide mattermost url, whereby one desktop app/window will handle all the teams within the enterprise/organization (one "tab" per team).

@LongLiveCHIEF LongLiveCHIEF self-assigned this Nov 9, 2015
@geekytime
Copy link
Collaborator

#67 implements tabs the way Slack does them, but the tab views are wrapped in TeamWebview components, so it should make it easy to add support for multiple BrowserWindows, if someone wants to add support for that.

geekytime pushed a commit that referenced this issue Dec 30, 2015
@LongLiveCHIEF LongLiveCHIEF modified the milestones: v1.3, v1.1 Jan 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants