-
Notifications
You must be signed in to change notification settings - Fork 1
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
Interface to Browse the Domino Server Databases #40
Comments
@dpastov sent an example of the API. I won't include the original example here since it is for a Prominic server. For this UI, the user will need to enter a server name that the Domino server has access to. This should default to the local server. I'll need to create a new Java agent that uses @dpastov's code, which will take the server name as a parameter. UPDATE: To clarify, I expect this agent to be in SuperHumanPortal.nsf. It will only have access to other servers that the Server Admin has access to. For standalone SuperHumanImporter cases, I would generally expect the user to only have access to the same server. The data will look something like this:
We will then want to organize these entries into an interface resembling a file browser. @JustinProminic suggested that we show the last two levels of nesting only using an interface similar to what we recently worked on for (SH-Meeting-Minutes](https://github.com/prominic/SH-Meeting-Minutes/issues/10) (Private). Note that there is not a lot of information to display for the databases currently, so we may wan to consider a more compact interface. And then from this interface, the user will be able to select a database and automatically create a Database Bookmark in Custom Bookmarks. We'll need to show a simple form that will allow the user to select a category. |
-- Bookmarks |
Here is the LotusScript code used by @dpastov's agent:
I should be able to quickly do some thing similar for Java. @JustinProminic confirmed that we want to enable this lookup for the local sever only at this point. We could consider adding a parameter to lookup other servers later. |
A key feature for this interface will be integration with the custom bookmarks:
I'll need to add a view to lookup bookmarks based on the server and database name. |
The new GUI for this should be displayed under the Bookmarks menu: Bookmarks > Browse My Server. This entry should always exist, so that the user can add more databases later. When the user opens the database, they should see a an interfaces showing the databases from the JSON agent, organized using the tab interface we have been working on for SH-Meeting-Minutes. |
Thinking about this further, I think it makes more sense to reuse the link format for the JSON:
|
I spent some time on the agent today, but I'm running into some unexpected errors on the imported agent. I'll continue investigating this, and hopefully I'll have something ready tomorrow. (FYI, there is another urgent task that may distract me from this). |
@JoelProminic Quick question - your agent will return above items and I don't actually bother what Dmytro API returns, because you simply call it and I'll get above array of objects ? |
- Initial parsing logic for TopMenu (reference #40)
Right, the agent I'm working on will use the format from this comment rather than the format from Dmytro's agent. I chose this format to match the format for links/bookmarks. My agent is almost done, but I ran into trouble with DXL Importer in my tests. I was busy yesterday with another task, but I'll try to make time to debug my agent today. |
@piotrzarzycki21, I pushed an initial version of the agent so that you had something to get started. You will only need to deploy the agents with this database (later updates will include a database update). Incomplete components:
FYI, I'm still getting DXL Importer errors on the Super.Human.Installer servers. If you start getting agent errors after the update, then revert to the last database copy I sent you and let me know. I didn't make any changes to the DXL importer scripts recently, so I don't know why I'm getting problems. |
@JoelProminic after deploying your agents I'm getting following on application startup:
|
- Add initial version of parsing data from backend (reference #40)
- Fix width of TopMenu (reference #40)
- Working Copy to Clipboard buttons (reference #40)
Sorry, I missed your update earlier. This looks like the same error I am getting when importing the agents. I don't know what has changed to cause this - I only see changes to the src code and the agentProperties configuration, and I confirmed that the old agents are failing as well. |
Question is what could help you debug that stuff ? After deploying your agents released Super Human Portal stopped working as well. |
…der icon if it has some children (reference #40)
Apart of Future feature - all issues has been addressed. |
We reviewed the file browser interface with Doug today, and he requested some changes.
|
…right arrow button (reference #40)
…ent folder/element (reference #40)
@JoelProminic I have made couple of improvements before today's call. I did also fix issue where clicking on "Menu" in breadcrump didn't refresh properly menu items. I did not fix yet issue which you have discovered during call with deeply nested elements, but my changes may influence that scenario - something which I need to check. |
|
- Display double chevron icon on button (reference #40)
I'm reopening this issue so that I remember to implement the agent-side logic for |
For the whitespace cases, I made a small update to the link code to trim the database string when building the Notes and Nomad URLs. |
We would like to add an interface that will provide a better way for the user to browse the databases in the Domino Directory.
This should provide options to view the databases as a list or by icons.
@dpastov and I will provide an agent based on the
DbDirectory
APITODO: fill in more details
The text was updated successfully, but these errors were encountered: