Coder Social home page Coder Social logo

cicero-word-add-in-deprecated's Introduction

cicero-word-add-in-deprecated's People

Contributors

a4aditya avatar arteevraina avatar dependabot[bot] avatar dianalease avatar dselman avatar irmerk avatar jeromesimeon avatar michael-grover avatar mttrbrts avatar nik72619c avatar shakti97 avatar shrutikasingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cicero-word-add-in-deprecated's Issues

cp command and start script for setting up the project.

I was going through the documentation to setup the add-in on a widows (batch shell) machine and have realized that the copy command for cicero-word-add-in.xml file is incorrect for windows, if it was not intentional to skip the configuration for windows. I would like to point out that the following command:

cp cicero-word-add-in.xml /Users/<NAME>/Library/Containers/com.microsoft.Word/Data/Documents/wef/

should be updated to the following for windows.

copy cicero-word-add-in.xml \Users\<NAME>\Library\Containers\com.microsoft.Word\Data\Documents\wef\

Similarly, in the start script, the following command,

export HTTPS=true&&react-scripts start

should be updated to the following for windows.

set HTTPS=true&&react-scripts start

If yes, I would like to work on this.

Add Content Controls to Variables

Is your feature request related to a problem? Please describe.
We would want to add content controls to variable nodes identfied in the CiceroMark DOM to be able to add styling and perform others actions with these content controls in the Word document.

Describe the solution you'd like
Currently, it is not possible to add content controls with the insertion of HTML (the mechanism we currently have) so we would have to walk through the CiceroMark DOM and identify node types (Paragraphs, Headings, Variables) simultaneously inserting the text, breaks and content controls.

Additional context
I'd like to work on this.

The tabs are not sticky

Description

As per the discussion with @Michael-Grover, the tabs are to be sticky along with the header, in the word add-in.

OS configuration:- MacOS Catalina(v10.12.0)

Add UI for showing a list of smart clauses added by the user

Description

We can add functionality for showing the user a list of smart clauses that he/she has added to the word document. After this UI is made, I would also start with other functionalities that I have in mind incrementally.

We can start with a basic user interface first.

Unused CSS present

Some of the classes which were removed in the recent PR's still have their CSS left in index.css file

Tabs should Occupy full Width

Description

Enhancement:- Tabs in the Add-In should occupy full Width

Current Behaviour

Tabs are compressed

Expected Behaviour

Tabs should occupy full Width

Clicking Sideload Office Add-ins

When Sideload Office Add-ins is clicked in localhost it should open the link in the new tab rather than opening in the same tab where localhost React App is running in browser.

@DianaLease Should I work on this issue?

Static Header using Tab

##Description
Header using Tab to render Add-In header which makes it unnecessary clickable and its not in centered

refactor un-necassary instances of "that" usage

Description

Currently, the use of "that" is used in many places in the code in order to get the this instance. This can be replaced by using arrow functions which bubble up this, rather than normal functions.

Add cicero logo svg in react webpage

Description

The cicero logo was added in the word add-in based on the decisions taken with @Michael-Grover. The react webpage which can be seen on opening the project on the browser and visiting localhost:3000 should also have the same logo.

OS config:- Mac OS Catalina(v10.12.0)

Form Validation Required

Description

Right Now the label are already red , but they should be red only when there is a error, we can solved this issue by maintaining a state for error but I think it should be much elegant if we add any form-validation library

Current Behaviour

Right now label are already in red color , but that should be only when there is any error after the fields are dirty or touched

Expected Behaviour

Form should validate the field and should convey the user what is missing only if the user touched the field or try submitting the form without entering data

Additional Information

I would like to work on it

clause template list is missing loading spinner

Description

Currently, the list which displays the clause templates list does not have a fallback UI or a spinner. Steps to reproduce the issue:-

  1. Sideload the cicero-UI add-in
  2. switch over to the Templates tab
  3. The list is a blank component first and then the list appears

OS details:-
Mac OS Catalina (v10.15.2)

Add-in lacks proper footer

Add-ins generally have a proper footer indicating some copyrights or something like that along with that footers mentions name of organisation which is maintainig it.

Footer background Color is different then header

Description

Footer color is different from the header

Current Behaviour

Footer color is different then rest of the theme design, and header

Actual Behaviou

Footer color should be same as the header

Dialog persist state even after closing

New Smart clause dialog preserving the state of the text box

Steps to Reproduce:

  1. Go to Create New Smart Clause .
  2. Enter Clause Id and Template Id.
  3. Close the dialog by clicking on Ok or Cancel
  4. Now go to create New Smart Clause Again you will see the text you previously entered.

Fix project header to top

Description

The project header can be fixed to the top. Currently, it scrolls along with the content.

OS config:- Mac OS Catalina(v10.5.2)

Remove Useless code

Description:-
There is some useless code which is there but not contributing to the respective feature

Modify eslint config to enforce linting

Description

Curently, an eslintrc file is present , but the app does not enforce linting. Therefore, linting rules need to be modified in the app, and also linting should be made mandatory , i.e build should fail if linting rules are not adhered to.

The input text is white

Description

The color of the text inside the main input is white. The text can be seen when highlighted as shown :-

Screenshot 2020-03-18 at 12 12 28 AM

OS :- MacOS Cataline (v10.15.2)

Remove Unnecessary Scrollbar

Description

We have two scrollbar in the add-in one for the whole add in and one for the templates, if we are using scrollbar for the template I don't think there is any need of the outside scrollbar. We can use scrollable tabs also which also cater tabs and header scrolling issue.

Current Behaviour

Two scrollbar in which outside scrollbar is unnecessary

Expected Behaviour

Scrollbar is needed if there is any content which is not visible, but actually we are using scroll in template list. So we can have one scroll and we can scrollable tabs also for more content which cater the problem header and tab scrolling issue in add in.

Additional Information

I would like to work on it

Wrong function reference

The onClose eventhandler in NewSmartClasueDialog is referencing to wrong function.
I am working on this issue.

Tabs do not occupy equal widths

Description

The tabs do not occupy equal width. The expected behaviour is that they should be having equal dimensions for the sake of consistency of the UI.

One tab has a width of 185 and the other has a width of 144.

Screenshot 2020-04-05 at 11 52 52 PM

Create Template from Legal Contract

  1. Lawyer opens an existing legal contract in MS Word.
  2. Open the Accord Project Add-In.
  3. Selects the text for a clause in the contract
  4. Presses the "Convert to Template" button in the add-in task pane
  5. Enters the identifier for the template
  6. Generate the Model

The selected text is scanned. Any text in between [ and ] is captured as a variable. The variable delimiter characters SHOULD be configurable.

A template model is created, with a property for each variable. The type of the variable is by default String.

The user can specify a different type for each variable, as well as rename the variable.

Example:

Lorem [ipsum] dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. [Duis] aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est [laborum].

A dialog (?) is displayed that confirms the variables and types:

ipsum [String]
Duis [String]
laborum [String]

Press a drop-down (?) for the type name to specify a different type. The dialog MAY allow the user to add/remove variables.

Initially perhaps we start with only supporting primitive types. In the future, the ability to specify the URL for an external model and to use custom (complex) types would be useful. E.g. Address, MonetaryQuantity etc.

Once the types have been confirmed/edited the grammar, model and package.json for the template is generated (in memory?).

concept TemplateModel {
   o String ipsum
   o String Duis
   o String laborum
}
  1. The user can press the Publish button to push the template into a GitHub repository. Typically this would be a fork of the cicero-template-library repository.

The Add-in uses the MS Word Bindings feature to persist the link from the text to the template. When the document is re-opened the text is already linked to the published template and the user can review the metadata for the template in the task pane.

  1. (Out of scope for Word Add-in) A developer clones the repository and adds the Input/Output transactions, checks the model, and the Ergo logic for the template.

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.