Skip to content

Conversation

@Sevhena
Copy link
Collaborator

@Sevhena Sevhena commented Mar 31, 2025

All plugin changes now going to DEV

Sevhena and others added 30 commits March 21, 2025 00:17
@Sevhena Sevhena added the enhancement New feature or request label Mar 31, 2025
@Sevhena Sevhena marked this pull request as draft March 31, 2025 19:38
@Sevhena Sevhena marked this pull request as ready for review March 31, 2025 20:36
Sevhena and others added 4 commits March 31, 2025 19:25
commit 9f61596
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:23:25 2025 -0400

    found it

commit 2752551
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:21:46 2025 -0400

    added logging

commit d9518e6
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:18:34 2025 -0400

    try another fix

commit f4a59ca
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:16:55 2025 -0400

    try a fix

commit 7802389
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:10:17 2025 -0400

    fix typo

commit 6addc6a
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:08:57 2025 -0400

    fix workflow logic

commit d5f0b0b
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:58:30 2025 -0400

    Created final publish workflow + updated version

commit 296cf33
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:50:23 2025 -0400

    Updated release step in publishing workflow

commit 8272d07
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:40:57 2025 -0400

    updated workflow logic

commit f8e3a85
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:11:13 2025 -0400

    trying one more thing

commit 9217868
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:09:46 2025 -0400

    fix typo

commit 7edd7a9
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:09:16 2025 -0400

    trying something

commit ca82e67
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:53:51 2025 -0400

    updated vsce verification step

commit 6608873
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:48:32 2025 -0400

    updated vsce install + trigger event

commit 68a928a
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:38:12 2025 -0400

    found silly bug

commit 1886088
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:36:24 2025 -0400

    update again

commit f271594
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:33:44 2025 -0400

    update publish.yml

commit 40f4149
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:29:22 2025 -0400

    updated publishing workflow

commit 57a705f
Merge: 55eeb78 2e6f904
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:25:13 2025 -0400

    Merge branch 'main' of https://github.com/ssm-lab/capstone--sco-vs-code-plugin into test-publish-workflow

commit 2e6f904
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 28 09:21:36 2025 -0400

    Create publish.yml
Copy link
Collaborator

@nivethakuruparan nivethakuruparan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@Ayushi1972 Ayushi1972 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@Sevhena Sevhena merged commit e1ca557 into dev Apr 3, 2025
1 check passed
@Sevhena Sevhena deleted the nivetha/sidebar-revamp-1 branch April 3, 2025 14:35
Sevhena added a commit that referenced this pull request Apr 3, 2025
* temporary data type fix for multi files

* updated readme with instructions for now

* fixed issue off highlighting entire line

fixes ssm-lab/capstone--sco-vs-code-plugin#351

* Updated smell detection functionality

fixes ssm-lab/capstone--sco-vs-code-plugin#351

* Made updates to README.md

* Update README.md

* bug fixes

* fixed bugs in type definitions

* Stage 1 adding difference UI

* Fixed smell data mismatch that caused refactorings to fail

* started working custom hover message

* changed refactorSmell.ts to refactor selected smell from hover Window

* Fixed smells showing up multiple times in the same hover window

* fixed extension.ts for refactorSmell() call

* refactor all smells of type button works

* Moved hashing to utils and added wipe cache cmd

* removed silly parameter

* removed unnecessary parameter

* added back fixes that were lost

* fixed bug added multiple arrow decorations to multi smell line

* Added Refactoring comparison functionality closes #353 in ecooptimizer repo

* Updated refactoring diff view (ssm-lab/capstone--sco-vs-code-plugin#353)

* fixed issue where sidebar reloads on file navigation (ssm-lab/capstone--sco-vs-code-plugin#353)

* Updated refactor functionality to work with refactoring all smells

* fixed bug where refactorings were deleted before they could be applied

* Added functionality to highlight smells in different colours based on type

closes ssm-lab/capstone--source-code-optimizer#351

* Fixed up refactorSmell not refactoring the selected smell line #345

* fixed bug causing sidebar to throw and error after wiping cache

* changed payload to send the actual workspace folder

* fixed refactorings not being applied to original files

* ssm-lab/capstone--source-code-optimizer#346  added contributes for source code, logging and unit test directories

* ssm-lab/capstone--source-code-optimizer#346  added dialog on activate extension to open settings if not configured

* Added functionality for filtering and showing logs

* ssm-lab/capstone--source-code-optimizer#346  added warning dialog for changing config path

* ssm-lab/capstone--source-code-optimizer#346  added reminder for missing unit test path

* Edited some setting configs ssm-lab/capstone--source-code-optimizer#346

* Fixed refactor error msgs and made logging automatic

* ssm-lab/capstone--source-code-optimizer#346  removed unit test path, updated settings name

* Updated logging to use websockets and store in vscode built-in log dir

fixes ssm-lab/capstone--source-code-optimizer#393

* minor fixes and adjustments

* fixed server url env variable + added settings popup feature

* fix: explicitly close websockets on extension disconnect

fixes ssm-lab/capstone--source-code-optimizer#393

* fixed async file handling

* Implement automatic reconnection to backend server

fixes ssm-lab/capstone--source-code-optimizer#394

* add eslint config

* added lint + format pre-commit

* updated linting configuration

* fixed issues raised by linter

* linter ignores type def files + stop checking line ending type

* minor bug fixes

* ssm-lab/capstone--source-code-optimizer#385 Added test libraries, set up initial structure for unit tests

* setup: configured project for jest testing

ssm-lab/capstone--source-code-optimizer#376

* adjusted global type paths

* added tests for smellDetection module

ssm-lab/capstone--source-code-optimizer#380

* ssm-lab/capstone--source-code-optimizer#385 Add unit tests for wipeWorkCache

 - Implemented unit tests for wipeWorkCache.ts

 - Created a mock for ContextManager to support testing

 - Updated VS Code mock to include visibleTextEditors

 - Restructured the unit test directory for better organization under commands/

* Centralized env config mocking

* Have 2/3 test cases working for hoverManager (#396)

* Finished hoverManager test cases (#396)

* Added 4/6 passing test cases for line selection manager (#413)

* Finished adding test cases for line selection manager (#413)

* Added unit tests for fileHighlighter module

fixes ssm-lab/capstone--source-code-optimizer#382

* Added coverage reporting to jest config

* Added unit tests for hashing module

fixes ssm-lab/captsone--source-code-optimizer#414

* Changed mention of "Energy Saved" to "Carbon Saved"

* fixed bug that caused race condition when trying to apply a refactoring to a file

* ssm-lab/capstone--source-code-optimizer#445 Added unit tests for api backend

* Added test for smells filter in settings (ssm-lab/capstone--source-code-optimizer#415)

* ssm-lab/capstone--source-code-optimizer#399 Added unit tests for refactor smell command

* update webpack config

* Added jest testing workflow

Squashed commit of the following:

commit e270c5e
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 14 22:20:38 2025 -0400

    Updated jest coverage specifications

commit d068105
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 14 22:05:24 2025 -0400

    Updated worflow to re-run on pr update

commit f96dffa
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 14 22:03:44 2025 -0400

    Modified workflow to upload coverage report even on failure

commit a662f0e
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 14 22:00:00 2025 -0400

    Added jest testing workflow

* Added test cases for backend

* Added test cases for refactorSmell command module

* updated file coverage config

* temporarily omitting sidebar files from coverage

* Moved changes to new-toggle-button branch

* Closes ssm-lab/capstone--source-code-optimizer#405

* Add file path to avoid tests

* fixed failing tests + added test for new detection toggle module

fixes ssm-lab/capstone--source-code-optimizer#504

* [DEV] Add Smell Customization (#8)

* Enabled customization of smell highlights

closes ssm-lab/capstone--source-code-optimizer#500

* fixed up smell settings  order and descriptions

* Updated log message processing (#9)

closes ssm-lab/capstone--source-code-optimizer#517

* [DEV] All Plugin Changes (#12)

* initial integration with new changes

* Fixed package-lock.json

* temporarily moved out old logic + files (will slowly add back in)

* renamed to FilterViewProvider.ts

* renamed to SmellsViewProvider class

* renamed to FilterViewProvider class

* cleaning

* some cleaning in SmellsCacheManager.ts

* Removed cache for smells when smells filters was modified

* added warning pop-up if users changed filter

* comment

* fixed when refactor smell by type icon is shown

* added fix for outdated files showing refactor button

* minor change how we process smells in smells view

* made smells have a unique identifier to help make refactoring

* Added error catching for smell detection commands + fixed hashing logic

* fix bug when jumping to smell

* added inital refactoring stage

* added refactoring view

* added diff editor + accept and reject (not working)

* refactoring: removed file path param

* added accept reject icons

* more refactoring

* more refactoring - open diff editor command

* refactor - fixed sidebar dropdown with affected files

* refactor - fixed diff editor to not open in preview

* added energy savings to tree items

* add to focus on view

* added accept and reject buttons

* make files outdated after refactoring

* Add energy metrics dashboard

fixes ssm-lab/capstone--source-code-optimizer#428

* Update energy metrics dashboard

- Added clear metrics command
- Added manual refresh command
- Added listeneer for workspace changes
- Properly integrated dashboard with refactorSmell
- Properly formatted carbon values to use scientific notation
- Sorted tree items to show folders first then files

fixes ssm-lab/capstone--source-code-optimizer#428

* started making icon ui for refactoring

* small fix

* configuring workspace fix

* renamed smells view

* Added LineSelection and Highlighting back in

* Finalized editor decoration modules

- Added back missing settings config
- Refined event handling + cashing

* Hide commands from command palette

* renamed to smellsView

* fixed configuring workspace

* readded the statuses for the smells view

* clean

* clean

* clean

* clean

* clean configureWorkspace.ts

* clean resetConfiguration.ts

* clean

* clean

* readded the smells view

* readded the smells view

* readded the smells view

* readded the smells view

* readded filter view

* bugs

* bugs

* added line selection

* added detectsmellsfolder

* clean

* clean

* clean

* added refactoring

* added refactoring

* added back metrics

* added refactoring

* clean

* clean

* clean

* clean

* clean

* clean

* clean backend.ts

* clean backend.ts and acceptRefactoring.ts

* clean configureWorkspace.ts

* clean detectSmells.ts

* clean refactorSmell.ts

* clean

* clean serverStatus.ts

* clean workspaceModifiedListener.ts

* clean

* refactorSmellsByType added

* toggle linting

* cache bug fix

* commit

* hover manager

* Added back in missing functionality

* Added back in all functionality

closes the following issues:
- ssm-lab/capstone--source-code-optimizer#428
- ssm-lab/capstone--source-code-optimizer#369
- ssm-lab/capstone--source-code-optimizer#499
- ssm-lab/capstone--source-code-optimizer#500
- ssm-lab/capstone--source-code-optimizer#517

* small fixes

* made structuring fixes

* fixed tests for detect, refactor and wipe work cache modules

* added mocks for tests

* removed providers and showLogs from test coverage

* got initializeStatusesFromCache.test.ts to work

* added trackedDiffEditors.test.ts file

* added refactorActionButtons.test.ts file

* Added fields to the package.json to prepare for publishing

* added more tests

* added more tests

* Fixed ui tests and made compilation work

* update readme ssm-lab/capstone--source-code-optimizer#261 (#10)

* push v0.1.1

- fixes ssm-lab/capstone--source-code-optimizer#503

* 0.2.0

* Add real logo

* 0.2.1

* fix icon path

* 0.2.2

* fixed package.json scripts

* Add better comments

* updated configs and dependencies

* remove virtual folders property from tsconfig.json

* Changed workflow testing step to do clean install

* updated test workflow

* added temp purge cache step to test workflow

* updated test workflow

* modified jest config

* fixed module import issue

* Updated publishing workflow + updated version

commit 9f61596
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:23:25 2025 -0400

    found it

commit 2752551
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:21:46 2025 -0400

    added logging

commit d9518e6
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:18:34 2025 -0400

    try another fix

commit f4a59ca
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:16:55 2025 -0400

    try a fix

commit 7802389
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:10:17 2025 -0400

    fix typo

commit 6addc6a
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:08:57 2025 -0400

    fix workflow logic

commit d5f0b0b
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:58:30 2025 -0400

    Created final publish workflow + updated version

commit 296cf33
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:50:23 2025 -0400

    Updated release step in publishing workflow

commit 8272d07
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:40:57 2025 -0400

    updated workflow logic

commit f8e3a85
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:11:13 2025 -0400

    trying one more thing

commit 9217868
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:09:46 2025 -0400

    fix typo

commit 7edd7a9
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:09:16 2025 -0400

    trying something

commit ca82e67
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:53:51 2025 -0400

    updated vsce verification step

commit 6608873
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:48:32 2025 -0400

    updated vsce install + trigger event

commit 68a928a
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:38:12 2025 -0400

    found silly bug

commit 1886088
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:36:24 2025 -0400

    update again

commit f271594
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:33:44 2025 -0400

    update publish.yml

commit 40f4149
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:29:22 2025 -0400

    updated publishing workflow

commit 57a705f
Merge: 55eeb78 2e6f904
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:25:13 2025 -0400

    Merge branch 'main' of https://github.com/ssm-lab/capstone--sco-vs-code-plugin into test-publish-workflow

commit 2e6f904
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 28 09:21:36 2025 -0400

    Create publish.yml

* Added configureWorkspace.test.ts

* Added resetConfiguration.test.ts

* Added refactorActionButtons.test.ts

---------

Co-authored-by: Nivetha Kuruparan <niv.kuru@gmail.com>
Co-authored-by: Tanveer Brar <92374772+tbrar06@users.noreply.github.com>

---------

Co-authored-by: Ayushi Amin <amina23@mcmaster.ca>
Co-authored-by: Nivetha Kuruparan <167944429+nivethakuruparan@users.noreply.github.com>
Co-authored-by: mya <hussam52@mcmaster.ca>
Co-authored-by: tbrar06 <brart5@mcmaster.ca>
Co-authored-by: Nivetha Kuruparan <niv.kuru@gmail.com>
Co-authored-by: Ayushi Amin <66652121+Ayushi1972@users.noreply.github.com>
Co-authored-by: Mya <55725523+mmyaaaaa@users.noreply.github.com>
Co-authored-by: Tanveer Brar <92374772+tbrar06@users.noreply.github.com>
Sevhena added a commit that referenced this pull request Apr 5, 2025
* temporary data type fix for multi files

* updated readme with instructions for now

* fixed issue off highlighting entire line

fixes ssm-lab/capstone--sco-vs-code-plugin#351

* Updated smell detection functionality

fixes ssm-lab/capstone--sco-vs-code-plugin#351

* Made updates to README.md

* Update README.md

* bug fixes

* fixed bugs in type definitions

* Stage 1 adding difference UI

* Fixed smell data mismatch that caused refactorings to fail

* started working custom hover message

* changed refactorSmell.ts to refactor selected smell from hover Window

* Fixed smells showing up multiple times in the same hover window

* fixed extension.ts for refactorSmell() call

* refactor all smells of type button works

* Moved hashing to utils and added wipe cache cmd

* removed silly parameter

* removed unnecessary parameter

* added back fixes that were lost

* fixed bug added multiple arrow decorations to multi smell line

* Added Refactoring comparison functionality closes #353 in ecooptimizer repo

* Updated refactoring diff view (ssm-lab/capstone--sco-vs-code-plugin#353)

* fixed issue where sidebar reloads on file navigation (ssm-lab/capstone--sco-vs-code-plugin#353)

* Updated refactor functionality to work with refactoring all smells

* fixed bug where refactorings were deleted before they could be applied

* Added functionality to highlight smells in different colours based on type

closes ssm-lab/capstone--source-code-optimizer#351

* Fixed up refactorSmell not refactoring the selected smell line #345

* fixed bug causing sidebar to throw and error after wiping cache

* changed payload to send the actual workspace folder

* fixed refactorings not being applied to original files

* ssm-lab/capstone--source-code-optimizer#346  added contributes for source code, logging and unit test directories

* ssm-lab/capstone--source-code-optimizer#346  added dialog on activate extension to open settings if not configured

* Added functionality for filtering and showing logs

* ssm-lab/capstone--source-code-optimizer#346  added warning dialog for changing config path

* ssm-lab/capstone--source-code-optimizer#346  added reminder for missing unit test path

* Edited some setting configs ssm-lab/capstone--source-code-optimizer#346

* Fixed refactor error msgs and made logging automatic

* ssm-lab/capstone--source-code-optimizer#346  removed unit test path, updated settings name

* Updated logging to use websockets and store in vscode built-in log dir

fixes ssm-lab/capstone--source-code-optimizer#393

* minor fixes and adjustments

* fixed server url env variable + added settings popup feature

* fix: explicitly close websockets on extension disconnect

fixes ssm-lab/capstone--source-code-optimizer#393

* fixed async file handling

* Implement automatic reconnection to backend server

fixes ssm-lab/capstone--source-code-optimizer#394

* add eslint config

* added lint + format pre-commit

* updated linting configuration

* fixed issues raised by linter

* linter ignores type def files + stop checking line ending type

* minor bug fixes

* ssm-lab/capstone--source-code-optimizer#385 Added test libraries, set up initial structure for unit tests

* setup: configured project for jest testing

ssm-lab/capstone--source-code-optimizer#376

* adjusted global type paths

* added tests for smellDetection module

ssm-lab/capstone--source-code-optimizer#380

* ssm-lab/capstone--source-code-optimizer#385 Add unit tests for wipeWorkCache

 - Implemented unit tests for wipeWorkCache.ts

 - Created a mock for ContextManager to support testing

 - Updated VS Code mock to include visibleTextEditors

 - Restructured the unit test directory for better organization under commands/

* Centralized env config mocking

* Have 2/3 test cases working for hoverManager (#396)

* Finished hoverManager test cases (#396)

* Added 4/6 passing test cases for line selection manager (#413)

* Finished adding test cases for line selection manager (#413)

* Added unit tests for fileHighlighter module

fixes ssm-lab/capstone--source-code-optimizer#382

* Added coverage reporting to jest config

* Added unit tests for hashing module

fixes ssm-lab/captsone--source-code-optimizer#414

* Changed mention of "Energy Saved" to "Carbon Saved"

* fixed bug that caused race condition when trying to apply a refactoring to a file

* ssm-lab/capstone--source-code-optimizer#445 Added unit tests for api backend

* Added test for smells filter in settings (ssm-lab/capstone--source-code-optimizer#415)

* ssm-lab/capstone--source-code-optimizer#399 Added unit tests for refactor smell command

* update webpack config

* Added jest testing workflow

Squashed commit of the following:

commit e270c5e
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 14 22:20:38 2025 -0400

    Updated jest coverage specifications

commit d068105
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 14 22:05:24 2025 -0400

    Updated worflow to re-run on pr update

commit f96dffa
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 14 22:03:44 2025 -0400

    Modified workflow to upload coverage report even on failure

commit a662f0e
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 14 22:00:00 2025 -0400

    Added jest testing workflow

* Added test cases for backend

* Added test cases for refactorSmell command module

* updated file coverage config

* temporarily omitting sidebar files from coverage

* Moved changes to new-toggle-button branch

* Closes ssm-lab/capstone--source-code-optimizer#405

* Add file path to avoid tests

* fixed failing tests + added test for new detection toggle module

fixes ssm-lab/capstone--source-code-optimizer#504

* [DEV] Add Smell Customization (#8)

* Enabled customization of smell highlights

closes ssm-lab/capstone--source-code-optimizer#500

* fixed up smell settings  order and descriptions

* Updated log message processing (#9)

closes ssm-lab/capstone--source-code-optimizer#517

* [DEV] All Plugin Changes (#12)

* initial integration with new changes

* Fixed package-lock.json

* temporarily moved out old logic + files (will slowly add back in)

* renamed to FilterViewProvider.ts

* renamed to SmellsViewProvider class

* renamed to FilterViewProvider class

* cleaning

* some cleaning in SmellsCacheManager.ts

* Removed cache for smells when smells filters was modified

* added warning pop-up if users changed filter

* comment

* fixed when refactor smell by type icon is shown

* added fix for outdated files showing refactor button

* minor change how we process smells in smells view

* made smells have a unique identifier to help make refactoring

* Added error catching for smell detection commands + fixed hashing logic

* fix bug when jumping to smell

* added inital refactoring stage

* added refactoring view

* added diff editor + accept and reject (not working)

* refactoring: removed file path param

* added accept reject icons

* more refactoring

* more refactoring - open diff editor command

* refactor - fixed sidebar dropdown with affected files

* refactor - fixed diff editor to not open in preview

* added energy savings to tree items

* add to focus on view

* added accept and reject buttons

* make files outdated after refactoring

* Add energy metrics dashboard

fixes ssm-lab/capstone--source-code-optimizer#428

* Update energy metrics dashboard

- Added clear metrics command
- Added manual refresh command
- Added listeneer for workspace changes
- Properly integrated dashboard with refactorSmell
- Properly formatted carbon values to use scientific notation
- Sorted tree items to show folders first then files

fixes ssm-lab/capstone--source-code-optimizer#428

* started making icon ui for refactoring

* small fix

* configuring workspace fix

* renamed smells view

* Added LineSelection and Highlighting back in

* Finalized editor decoration modules

- Added back missing settings config
- Refined event handling + cashing

* Hide commands from command palette

* renamed to smellsView

* fixed configuring workspace

* readded the statuses for the smells view

* clean

* clean

* clean

* clean

* clean configureWorkspace.ts

* clean resetConfiguration.ts

* clean

* clean

* readded the smells view

* readded the smells view

* readded the smells view

* readded the smells view

* readded filter view

* bugs

* bugs

* added line selection

* added detectsmellsfolder

* clean

* clean

* clean

* added refactoring

* added refactoring

* added back metrics

* added refactoring

* clean

* clean

* clean

* clean

* clean

* clean

* clean backend.ts

* clean backend.ts and acceptRefactoring.ts

* clean configureWorkspace.ts

* clean detectSmells.ts

* clean refactorSmell.ts

* clean

* clean serverStatus.ts

* clean workspaceModifiedListener.ts

* clean

* refactorSmellsByType added

* toggle linting

* cache bug fix

* commit

* hover manager

* Added back in missing functionality

* Added back in all functionality

closes the following issues:
- ssm-lab/capstone--source-code-optimizer#428
- ssm-lab/capstone--source-code-optimizer#369
- ssm-lab/capstone--source-code-optimizer#499
- ssm-lab/capstone--source-code-optimizer#500
- ssm-lab/capstone--source-code-optimizer#517

* small fixes

* made structuring fixes

* fixed tests for detect, refactor and wipe work cache modules

* added mocks for tests

* removed providers and showLogs from test coverage

* got initializeStatusesFromCache.test.ts to work

* added trackedDiffEditors.test.ts file

* added refactorActionButtons.test.ts file

* Added fields to the package.json to prepare for publishing

* added more tests

* added more tests

* Fixed ui tests and made compilation work

* update readme ssm-lab/capstone--source-code-optimizer#261 (#10)

* push v0.1.1

- fixes ssm-lab/capstone--source-code-optimizer#503

* 0.2.0

* Add real logo

* 0.2.1

* fix icon path

* 0.2.2

* fixed package.json scripts

* Add better comments

* updated configs and dependencies

* remove virtual folders property from tsconfig.json

* Changed workflow testing step to do clean install

* updated test workflow

* added temp purge cache step to test workflow

* updated test workflow

* modified jest config

* fixed module import issue

* Updated publishing workflow + updated version

commit 9f61596
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:23:25 2025 -0400

    found it

commit 2752551
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:21:46 2025 -0400

    added logging

commit d9518e6
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:18:34 2025 -0400

    try another fix

commit f4a59ca
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:16:55 2025 -0400

    try a fix

commit 7802389
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:10:17 2025 -0400

    fix typo

commit 6addc6a
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 19:08:57 2025 -0400

    fix workflow logic

commit d5f0b0b
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:58:30 2025 -0400

    Created final publish workflow + updated version

commit 296cf33
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:50:23 2025 -0400

    Updated release step in publishing workflow

commit 8272d07
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:40:57 2025 -0400

    updated workflow logic

commit f8e3a85
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:11:13 2025 -0400

    trying one more thing

commit 9217868
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:09:46 2025 -0400

    fix typo

commit 7edd7a9
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 18:09:16 2025 -0400

    trying something

commit ca82e67
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:53:51 2025 -0400

    updated vsce verification step

commit 6608873
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:48:32 2025 -0400

    updated vsce install + trigger event

commit 68a928a
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:38:12 2025 -0400

    found silly bug

commit 1886088
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:36:24 2025 -0400

    update again

commit f271594
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:33:44 2025 -0400

    update publish.yml

commit 40f4149
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:29:22 2025 -0400

    updated publishing workflow

commit 57a705f
Merge: 55eeb78 2e6f904
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Mon Mar 31 17:25:13 2025 -0400

    Merge branch 'main' of https://github.com/ssm-lab/capstone--sco-vs-code-plugin into test-publish-workflow

commit 2e6f904
Author: Sevhena Walker <83547364+Sevhena@users.noreply.github.com>
Date:   Fri Mar 28 09:21:36 2025 -0400

    Create publish.yml

* Added configureWorkspace.test.ts

* Added resetConfiguration.test.ts

* Added refactorActionButtons.test.ts

---------

Co-authored-by: Nivetha Kuruparan <niv.kuru@gmail.com>
Co-authored-by: Tanveer Brar <92374772+tbrar06@users.noreply.github.com>

* Link to wiki

fixes ssm-lab/capstone--source-code-optimizer#573

* Update extension version

---------

Co-authored-by: Ayushi Amin <amina23@mcmaster.ca>
Co-authored-by: Nivetha Kuruparan <167944429+nivethakuruparan@users.noreply.github.com>
Co-authored-by: mya <hussam52@mcmaster.ca>
Co-authored-by: tbrar06 <brart5@mcmaster.ca>
Co-authored-by: Nivetha Kuruparan <niv.kuru@gmail.com>
Co-authored-by: Ayushi Amin <66652121+Ayushi1972@users.noreply.github.com>
Co-authored-by: Mya <55725523+mmyaaaaa@users.noreply.github.com>
Co-authored-by: Tanveer Brar <92374772+tbrar06@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants