obsidian-table-sorting icon indicating copy to clipboard operation
obsidian-table-sorting copied to clipboard

Support of android devices

Open merlinuwe opened this issue 1 year ago • 6 comments

Thanks for your great plugin.

It would be useful, if it would support android, so that one can benefit from the same advantages as in Windows.

If you need someone to test, I would help.

merlinuwe avatar Apr 20 '24 10:04 merlinuwe

Hello! Over the last few days I've been introducing a new way of using this plugin. It would integrate much more seamlessly with Obsidian.

Check out the branch version-v1.4-upgrade if you want to test it out yourself. Sorting multiple columns is not yet updated though.

If you have any remarks on how you'd want to use it on mobile, it'd be much appreciated.

kraibse avatar Apr 20 '24 13:04 kraibse

Can you give me a URI to version-v1.4-upgrade?

merlinuwe avatar Apr 20 '24 13:04 merlinuwe

Sure, you can access the branch right here.

kraibse avatar Apr 20 '24 16:04 kraibse

Thank you, I didn't found it.

Now I have these files in a TestVault

image

I see, that the files name is styles.css, but it contains html (and downloads as styles.htm). Which one is correct? Regardless, which name I try, there is no sorting possible in this testfile:

2024-04-20 Nummerierte erste Spalte in Tabellen css.md

merlinuwe avatar Apr 20 '24 17:04 merlinuwe

While I'm looking into fully updating the plugin to work with the latest Obsidian changes, this might help:

  • The style.css file is not obligatory for the v1.4 to work.
  • You'll find the sorting option in the context menu now instead of clicking the table headers

If you have an idea for a preferred way to select multiple columns on mobile please let me know.

kraibse avatar Apr 20 '24 20:04 kraibse

Hello again! I've uploaded the v1.4 to the releases tab so you can finally test it on mobile.

Also, the reason why the plugin was not working on your end last time was that:

  • Obsidian needed the built main.js, manifest.json and the styles.css files. You used the main.ts which does not contain the entire plugin code and is just an entry point for development
  • The plugin was not built modified for mobile use at that time

Gladly, test out the plugin on mobile and report back to me. Any feedback is appreciated.

kraibse avatar Apr 29 '24 16:04 kraibse