Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Improve load database view by adding more data #483

Closed
2 tasks
jglovier opened this issue Jun 1, 2016 · 10 comments
Closed
2 tasks

Improve load database view by adding more data #483

jglovier opened this issue Jun 1, 2016 · 10 comments

Comments

@jglovier
Copy link
Member

jglovier commented Jun 1, 2016

I just ran through loading a set of 6 databases from an anonymized dump. One of the major painpoints was that even with just six files, it was hard to remember which one I had just loaded (and to know which one to load next) because the load confirmation doesn't show the filename which was just uploaded, or a persistent history of any recent uploads.

Expected behavior:

  • loading databases should show confirmation of what you just loaded (i.e. the filename)
  • loading databases should show a persistent, recent history of what was loaded

Actual behavior:

  • loading a database file just shows a generic load success message (which is oddly worded), and a start time and end time, as well as some info about "Docs read" and "Docs written", which was confusing because with each of the files I loaded the number there was 0 each time.

Steps to reproduce:

Go to Administration > LoadDB and load a database file (this can be reproduced with the sample-data.txt file in the project root).

Screenshots (if applicable):

screenshot 2016-05-31 21 47 00

OS and Browser:

  • OSX, Chrome
@jglovier jglovier added 🚀enhancement an issue/pull request that adds a feature to the application design ux labels Jun 1, 2016
@tangollama tangollama added Hack Day help wanted indicates that an issue is open for contributions and removed help wanted indicates that an issue is open for contributions labels Sep 17, 2016
@xmudrii
Copy link
Contributor

xmudrii commented Oct 1, 2016

I'm trying now to make it works, will report how it goes, if problem arises :)

@jscottchapman
Copy link
Contributor

@xmudrii It looks like you are working on this one. Is that right? Just wanted to make sure two people aren't working on the same issue unknowingly.

@xmudrii
Copy link
Contributor

xmudrii commented Oct 12, 2016

@jscottchapman I finished first part of it, showing file name after it is imported. It is in #685 .
I tried second task, but it was not going very well, also I'm bit out of time, so if you want to take over it, do it. 👍 :) Just write so I know someone another is doing it

@emadehsan
Copy link
Contributor

@jglovier

loading databases should show a persistent, recent history of what was loaded

Quick question about this problem's design decision:
I think the information must be permanently stored in CouchDB. Are the following fields enough to distinguish each loading? What else must be saved?

  • filename
  • loadedBy
  • startTime
  • endTime
  • docsRead
  • docsWritten

@jkleinsc
Copy link
Member

@emadehsan I think we could just keep this in memory, eg in the controller keep track of recently loaded files. They would disappear when you close the browser, but would be visible during your current "session".

@phantomphildius
Copy link

Is this still open and/or being worked on?

@tangollama
Copy link
Member

@afreem66 yes. @jglovier opened this originally. He might be able to provide more color if you need it.

@phantomphildius
Copy link

Seems pretty reasonable, just wondering why @xmudrii PR was closed?

@xmudrii
Copy link
Contributor

xmudrii commented May 23, 2017 via email

@stale
Copy link

stale bot commented Aug 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix indicates an issue/pull request will not be worked on label Aug 7, 2019
@fox1t fox1t removed Admin help wanted indicates that an issue is open for contributions ux 🚀enhancement an issue/pull request that adds a feature to the application labels Aug 7, 2019
@stale stale bot removed the wontfix indicates an issue/pull request will not be worked on label Aug 7, 2019
@fox1t fox1t closed this as completed Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants