Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight differences when changing features #219

Open
ericglau opened this issue Jan 12, 2023 · 0 comments
Open

Highlight differences when changing features #219

ericglau opened this issue Jan 12, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ericglau
Copy link
Member

When adding or removing a selected feature, it may not be obvious what parts of the resulting code has changed. This is especially the case for Cairo because there is a lot of code that requires scrolling to view.

Enhance the UI so that differences are visibly highlighted when changing a feature.

For example, if the user starts with:
Screen Shot 2023-01-12 at 4 56 55 PM
then enables Mintable like the below:
Screen Shot 2023-01-12 at 4 57 48 PM
, this should cause the following sections to be highlighted:

import "@openzeppelin/contracts/access/Ownable.sol";

and

    function mint(address to, uint256 amount) public onlyOwner {
        _mint(to, amount);
    }
@ericglau ericglau added enhancement New feature or request good first issue Good for newcomers labels Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant