Skip to content
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

Add a landing page listing all Dar documents/projects in the archive folder #6

Open
nuest opened this issue May 11, 2018 · 7 comments
Labels
wontfix This will not be worked on

Comments

@nuest
Copy link
Collaborator

nuest commented May 11, 2018

AFAIC the dar-server does not have a "list me all Dar projects in the storage" function, but something like that would be needed for an index page.

@nokome: Does some other component provide this functionality?

@nokome
Copy link
Contributor

nokome commented May 11, 2018

Good point. I'm not too familiar with dar-server that's a question for @michael or @oliver----

@obuchtala
Copy link

@nuest There is nothing like this yet. You can use html params for that.
See for example https://github.com/stencila/stencila/blob/develop/app/index.html
darServer has some arguments to control which folder is used as root folder for archives: https://github.com/substance/dar-server/blob/master/src/serve.js#L10-L15

@nuest
Copy link
Collaborator Author

nuest commented May 11, 2018

@oliver---- Thanks for clarifying. HTML params require us to know the name of the Dar directory beforehand, which we do not. Maybe to clarify what we want:

A user has one (or more) Dar directories in a repository on GitHub. When she opens the repo with binder, we would like to open Stencila with either the only Dar, or show a list of available ones.

As of now, the user has to provide the directory name. It would be cool if she does not have to.

(Also, we assume that a Dar will always be a directory. Will read the spec later today ;-) )

@obuchtala
Copy link

(moved to gitter for more discussions)

@nuest
Copy link
Collaborator Author

nuest commented May 17, 2018

@oliver---- @nokome @michael I think it would be great if we can "wrap up" the integration done at eLife Sprint during the next couple of weeks. Do you think this issue (a landing page) should be included? I don't know how it relates to the other ideas for integrations mentioned on Gitter, so your input would be useful.

@oliver---- AFAIR you made some change to dar-server supporting this - are those already released?

@nokome
Copy link
Contributor

nokome commented May 17, 2018

I think the conclusion was just to keep it a single Dar for now i.e. no landing page at least for now.

@michael
Copy link

michael commented May 17, 2018

Would stick with a single Dar for now too. The listArchives API is there in DarServer, but no need to use it.

@nuest nuest added the wontfix This will not be worked on label Jun 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants