Giter Club home page Giter Club logo

Comments (4)

lizstarin avatar lizstarin commented on August 11, 2024

Could we clarify criteria a bit?
-We're creating the ability to edit DOCUMENTS, not references (so I assume the url should be /documents/:id/edit).
-Do we want any new views other than an edit page?
-Which attributes of a document will be editable?

from littlesis-rails.

aepyornis avatar aepyornis commented on August 11, 2024

@lizstarin Yes, it's the ability to edit documents, not references. I think the original issue was made before a big refactor of our references.

A "view page" for documents is not necessary right now, but you can create a DocumentsController because eventually I would like there to be a document view page where one could view all the places where a particular document is used on the site (but, that's WAY out-of-scope for this issue!)

all fields should be editable except for URL -- this might be up for debate. as @lizstarin pointed out, it might be nice to be able to fix 404 and other broken links.

additionally these conditions should apply for the field ref_type:

  • if the document is a fec filing (ref type 2) than the ref type should not be editable.
  • users shouldn't be able to select FEC filing (ref type 2) as an option for that field

from littlesis-rails.

lizstarin avatar lizstarin commented on August 11, 2024

Page to edit document (still needs a back button and some date box finessing)
edit-document

Links to edit document page (only show if user is logged in)

on entity sources page:
entity-source-links

on relationship sources page:
relationship-source-link

from littlesis-rails.

lizstarin avatar lizstarin commented on August 11, 2024

Another possible AC:
These edits should be collected under a user's edits, right?
(maybe this is a separate card)

from littlesis-rails.

Related Issues (20)

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.