gnome-gesture-improvements icon indicating copy to clipboard operation
gnome-gesture-improvements copied to clipboard

Revamp for GNOME 45

Open adhadse opened this issue 1 year ago • 5 comments

Resolves #206

  • [X] Revamp as per https://gjs.guide/extensions/upgrading/gnome-shell-45.html#port-extensions-to-gnome-shell-45 and https://github.com/swsnr/gnome-shell-extension-typescript-template/tree/e8116afac1ad690d300985183238b51044445a3d

  • [ ] Change scripts/transpile.ts to accommodate the above point

     file:///mnt/Data/vscode_repo/gnome-gesture-improvements/build/scripts/transpile.js:174
          throw new Error(`Unknown import statement '${node.getFullText()}'`);
                ^
    
     Error: Unknown import statement ' 
     import { Extension } from 'resource:///org/gnome/shell/extensions/extension';'
    

adhadse avatar Nov 13 '23 08:11 adhadse

I don't really have a background in TS/GJS and would appreciate someone's help on this for review and further refactoring.

adhadseKavida avatar Nov 13 '23 08:11 adhadseKavida

Resolves #206

  • [x] Revamp as per https://gjs.guide/extensions/upgrading/gnome-shell-45.html#port-extensions-to-gnome-shell-45 and https://github.com/swsnr/gnome-shell-extension-typescript-template/tree/e8116afac1ad690d300985183238b51044445a3d
  • [ ] Change scripts/transpile.ts to accommodate the above point
     file:///mnt/Data/vscode_repo/gnome-gesture-improvements/build/scripts/transpile.js:174
          throw new Error(`Unknown import statement '${node.getFullText()}'`);
                ^
    
     Error: Unknown import statement ' 
     import { Extension } from 'resource:///org/gnome/shell/extensions/extension';'
    

I was refactoring this as well, :+1: , had just started. You are way ahead. All yours.

smedir avatar Nov 13 '23 12:11 smedir

Maybe I can learn from this PR for pano (clipboard manager)

adhadse avatar Nov 17 '23 05:11 adhadse

Is there any news on this? This extension is currently keeping me on Fedora 38, which goes EOL in about 3 months' time. If there's anything I can do to get the extension updated, please let me know!

MaddyGuthridge avatar Feb 20 '24 13:02 MaddyGuthridge

It would be great if this branch can be merged in, in the meantime I have pushed a release on https://github.com/sidevesh/gnome-gesture-improvements--transpiled which contains the transpiled version with fixes that a bunch of folks have done to get it working on Gnome 46.

sidevesh avatar Apr 25 '24 18:04 sidevesh