Git Product home page Git Product logo

pouchdb-fauxton's People

Contributors

nolanlawson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pouchdb-fauxton's Issues

Merge with Fauxton master

So basically I tried to do

git merge 9aafbd80e3a4545c292ca4c3251648fc0c80928a

But I found that there were too many merge conflicts. @NickColley, it seems that notably there are a lot of conflicts where you added branding colors to fauxton.less, but those styles were refactored out into new less files and so now we need to apply the changes over again. :(

Document ui patterns that can be merged into own components.

Fauxton doesn't do strict modular CSS I'm going to document some of these instances, then we can build a styleguide of the most common components and start refactoring the UI.

Tabs

http://localhost:8000/#/activetasks

image

http://localhost:8000/#/database/_replicator/_changes

image

Buttons

http://localhost:8000/#database/newdatabase/compact

image

image

http://localhost:8000/#/replication

image

image

image

image

Outlined buttons

http://localhost:8000/#/_all_dbs

image

Popovers

image

image

image

Note the shadow/color differences here.

Forms

input[type="text"]

image

image

image

image

input[type="checkbox"]

image

input[type="radio"]

image

select

image

image

image

Will update as I go.

Update from couchdb-fauxton

fauxton has been updated. Notably it now uses relative path which would allow it to work even when it is not mounted on the root with express-pouchdb (a recurring issue, c.f. pouchdb/pouchdb-server#260, pouchdb/pouchdb-server#256, pouchdb/pouchdb-server#183). It would be great to update it.
I tried to give it a quick look, but it seems the merge/copy mechanism is broken with recent versions. Unfortunately I run out of time and I'm not sure when I'll be able to come back on it.

No prepublish

I start following your instruction how to build Fauxton,

  1. Copy repository
  2. npm run prepublish

result:
screenshot from 2017-02-19 18 42 55

Plans for smoother upgrade path in the future

At the moment we have to edit some core files to update fauxton, I'd like to discuss the steps it'd take to have a smoother upgrade path without having to manually rebase everytime.

In terms of the styling (less), I've pushed upstream a while a go the ability to set the brand colour, so we'd need to just have our own copy of variables.less and use that when we build.

There's a bit of markup (react) changes to add the logo. We could contribute upstream the ability to change this in a config file potentially?

I'd love to be in a position were we can make patches to pouchdb-fauxton and test them out in the pouchdb community then push them upstream with no conflicts.

Interested what you think @marten-de-vries ๐Ÿ‘

We need to get the subdirectories out of the db namespace

Right now the Fauxton subdirectories /js, /css, /img and /fonts are hung off the root. As per pouchdb/express-pouchdb#131 this brings up two main problems.

  1. What if we are hosting the service somewhere other than that root? Such as /db/? The sub-directories are still only available off /img, /fonts, etc.
  2. The sub-directory names are also legal DB names. So what if someone wants to create a db called fonts? It will collide with Fauxton.

I suspect the best solution is to hang these directories off _utils, where ever it is in the path. This clears both the namespace collision problem and the namespace invasion problem. However to make that work we both need to change the paths in express-pouchdb\index.js but we also need to change the index.html produced in couchdb-fauxton.

Support for ReactNative

It would be great to use this with ReactNative, there is only one small problem. It currently looks for window.PouchDB on the top thread, however it needs to use the debugger.js thread that the remote debugger runs in instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.