[gSender Issue#230] Reordering of macros isn’t persistent

未分类 bolang 6个月前 (10-14) 43次浏览

Issue #230 | 状态: 已关闭 | 作者: crpalmer | 创建时间: 2022-11-27

标签: bug


I modified MacroItem.js to include macro.rowIndex in addition to macro.name in the display to see what is happening (or not happening). If I start with no macros in gSender (manually deleted all of them) and then import a set of macros I have this macro list:

!macro-ordering-1

I then grab the Probe Edge Top (2) macro to the top of the column as so:

!macro-ordering-2

it looks like it reordered the macros. However, if I reload the page the list of identical to the first image. After the proposed change, making the same reordering results in:

!macro-ordering-3

both immediately and after reloading the web page.


评论 (2)

#1 – crpalmer 于 2022-11-27

Here’s the json of the macros I uploaded (renamed to .txt to make github happy):

gsender-macros.txt


#2 – walidkayhan 于 2022-12-07

Hey @crpalmer, thanks for pointing that issue out, didn’t realize it was not persisting until you close the program or refresh the page like you mentioned. I have merged your pull request with that fix in 😃, we appreciate your contribution to gSender!


原始Issue: https://github.com/Sienci-Labs/gsender/issues/230

喜欢 (0)