Code Monkey home page Code Monkey logo

ajdb_rs's People

Contributors

badicsalex avatar

Stargazers

 avatar

Watchers

 avatar

ajdb_rs's Issues

Collapsed ToC

Acceptance criteria:

  • The ToC elements can be collapsed
  • The default state of the ToC when opening the site is so that 10-15 elements (or however many fit on the page) are not collapsed

Act reference snippet

AC:

  • The snippet for act-only references show the act ID and the title. No links in the snippet.

Dark mode

AC:

  • There is a toggle that can toggle between dark and light modes
  • Toggle position is persisted client side
  • Toggling does not need reload

Simple search

Acceptance criteria:

  • There is a search panel on the start page that allows the user to search for a specific act, based on:
    • Its year and number (both decimal and roman)
    • Its title or abbreviation
  • The result list
    • Shows the act id and act title (truncated in case of long titles)
    • Has links to both current and original state

Full text search is a different feature

Clickable icon for anchor link

AC:

  • When a user hovers a document element (article, SAE, SE), a link icon ( "🔗") becomes visible next to it's ID
  • Clicking the link icon will change the window.location to the anchor link, and also copies the link to the clipboard.
  • Hovering the icon shows a help message

Phrase database

Acceptance criteria:

  • There is a phrase database for each state of the Act Db (i.e. for each date)
  • The storage is optimized for size like the Act storage
  • Each phrase has a definition, which is a Reference (maybe multiple? maybe structural?)
  • Phrase definitions are shown in a document view
  • Phrases can be listed and searched from the main page
  • Phrase references are extacted during the hun_law step
    • With suffix stripping
  • Phrase references are proper links in Act view:
    • Shown with dotted underline
    • Clickable, goes to the phrase page
    • Snippets are shown

Full text search

Acceptance criteria:

  • The search functionality ( #2 ) is improved so that the title field allows for full text search
  • Results are ordered by relevance:
    • Act title matches are more important than full text
    • Multiple full text results count as more points
  • Full text search
    • Allows conjugated forms (i.e. suffixes are stripped before the actual search, and in the index)
    • Only searches in the current state (OPTIONAL: also search for out of force stuff, but with lower priority)
    • Searches for multiple words, requiring all of them in the document, in any order
  • OPTIONAL: search results show text snippets a'la Google

Diff view

Acceptance criteria

  • There is a side-by-side diff view for both Acts and Snippets
  • The diff is shown for past (and future) change snippets
  • There is a diff icon for each state in the state menu
  • The side-by-side diff view for acts has two state menus for the two states to diff

Show future changes

Acceptance criteria:

  • The document view shows changes that are going to occur in the next year
  • These changes show similarly to past changes
  • Both future and past changes are shown if both are present
  • Insertions are shown in an intuitive way
    • Structural element insertions don't need to be shown

Backlinks from references

Acceptance criteria:

  • Links in and between acts are indexed
  • Links into paragraphs (articles?) are shown in the document view
    • The number of links is shown as an icon
    • If clicked, a full document view is opened, where the following are visible:
      • The clicked element, including context (like a snippet)
      • All incoming links, grouped by act
    • Snippet is shown for the incomign links
      • At most 10 (20? 30?) links are shown
      • If there are more links, ask the user to click

Central abbreviation list

Acceptance criteria:

  • There is a list of "official" abbreviations
  • The abbreviations are used everywhere where Act Id is shown
    • HTML title
    • Menu title
    • Search results

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.