SKS2024SE / Unit_Conversion_2024

An extension that converts units for selected text_2024 Fall
MIT License
0 stars 0 forks source link

Smart Units Converter - Browser Extension

An extension that effortlessly converts your selected values into popular units, saving you time and making life easier. Plus, it includes powerful statistical analysis tools and personalized health reports to support your daily tasks and wellness goals! 💃

MIT license Standard - JavaScript Style Guide ESLint Beautify

Codecov

DOI

Click on the below to view the video

Play!!!

Use Cases

Installation Guide

Step 1: Clone this Repository

git clone [repository_url]

Step 2: Go to chrome extensions

Step 4: Unpack the cloned repository

Step 5: Check the extension added

Step 6: Test the extension

Popup Features for the user

To access the popup feature the user has to click on the extension icon in the top right corner where the user further finds and selects the extension "Unit Convert Selection"

1. Direct conversions

2. Customized Conversions

image

4. Statistics

5. Health Reports

6. Compound Conversions

image

image

7. Colorblind Mode

image

Style Checker and Analyzer

Standard Js

Installation npm install standard --global in comand line interface to install globally npm install standard --save-dev in command line interface to install locally

Running Standard Js go to root of project and type standard if StandardJs is installed globally go to root of project and type npx standard if StandardJs is installed locally Instead of installing it using npm, you can also use the extension available on VS Code

IDE and Code Fomatter

VS Code uses js-beautify internally, but it lacks the ability to modify the style you wish to use. This extension enables running js-beautify in VS Code, AND honouring any .jsbeautifyrc file in the open file's path tree to load your code styling. Run with F1 Beautify (to beautify a selection) or F1 Beautify file.

Run Test cases and coverage

Test Cases Guide

Unit Test

Then run:

    npm test [filename]

npm will then attempt to run all test files that end with *.test.js if you do not specify the filename.

Code Coverage

Funding

The project is not currently funded

🌠 Future

See RoadMap here

Documentation (Wiki)

"What" and "How" Docs

"Why" and "Why not" Docs

Think about the case when you shopping on Amazon. When you want to purchase Dumbbells on the website, the weight unit is somewhat you are not familiar with. You will google search the conversion of two units. But now, we have units converter, helping you to covert the unit by a single select with the mouse.

Feature Model

<!--  This model was created online using SPLOT's Feature Model Editor (http://www.splot-research.org) -->
<feature_model name="Unit Converter Extension">
    <feature_tree> 
        :r Unit Converter Extension(_r) 
            :m Length(_r_1) 
            :m Mass(_r_3) 
            :m Temperature(_r_4) 
            :m Time(_r_5) 
            :m Currency(_r_6) 
            :m Area(_r_7) 
            :m Datarate(_r_8) 
            :m Speed(_r_10) 
    </feature_tree>
    <constraints> 
        constraint_1:_r_1 or _r_7 
        constraint_2:_r_1 or _r_5 or _r_10 
    </constraints>
</feature_model>

feature_model

Troubleshooting

If you encounter any issues during any stage of extension use or you encounter any development-related issues, feel free to reach out to our contact our support team at unit.convertor.help@gmail.com.

Triad Triumph

CSC 510 - Software Engineering 2024
We are a group of 3 whose names start with S - Success. Hence, Triad Triumph - just like the alliteration in our names.

Contributors

GitHub User's stars
GitHub User's stars
GitHub User's stars

Moto

Learning . Unlearning . Unleasing