Skip to content

Added columns to the components list to display the quantity.#14

Open
Water-zi wants to merge 1 commit into
dukelec:masterfrom
Water-zi:CompListQuantity
Open

Added columns to the components list to display the quantity.#14
Water-zi wants to merge 1 commit into
dukelec:masterfrom
Water-zi:CompListQuantity

Conversation

@Water-zi

@Water-zi Water-zi commented May 18, 2023

Copy link
Copy Markdown

To improve efficiency during the SMT assembly process, I have added a new column in the component list to display the quantity. Users can enable or disable the display of this column using checkboxes.

However, there are the following unresolved issues:

  1. Unable to determine if the quantity of PCBs has been modified for automatic updating of the list (related to modifying components associated with reference markers). I lack knowledge in JavaScript and don't know how to retrieve HTML element IDs. It appears that passing parameters is necessary, but implementing this change would require significant modifications to existing code. I hope the author can suggest a better approach for retrieving the parameters.
  2. After adding the extra column, the overall width of the original list may be insufficient. Although it's possible to slightly increase the list's width, I have refrained from making modifications to maintain code consistency.

为了提高SMT贴片过程中的效率,我们在组件列表中新增了一个显示数量的列。这样可以避免手动计数元器件,并且方便计算总数。用户可以通过复选框来开启或关闭该列的显示。 然而,还存在以下未解决的问题:

  1. 无法确定是否已修改PCB的数量从而自动更新列表(涉及到修改与参考标记相关的组件)。我太菜了,我不清楚如何在JavaScript中获取HTML元素的ID。似乎需要传递参数,但是这样需要大量修改既有代码。希望作者能有更好的获取参数的方法。
  2. 添加了额外的列后,原列表的总宽度可能不够。虽然可以稍微增加列表的宽度,但为了保持代码的一致性,我没有对此进行修改。

To improve efficiency during the SMT assembly process, I have added a new column in the component list to display the quantity. Users can enable or disable the display of this column using checkboxes.

However, there are the following unresolved issues:

Unable to determine if the quantity of PCBs has been modified for automatic updating of the list (related to modifying components associated with reference markers). I lack knowledge in JavaScript and don't know how to retrieve HTML element IDs. It appears that passing parameters is necessary, but implementing this change would require significant modifications to existing code. I hope the author can suggest a better approach for retrieving the parameters.
After adding the extra column, the overall width of the original list may be insufficient. Although it's possible to slightly increase the list's width, I have refrained from making modifications to maintain code consistency.
@dukelec
dukelec force-pushed the master branch 3 times, most recently from 2b4a393 to e4dc5aa Compare March 18, 2024 09:21
@dukelec
dukelec force-pushed the master branch 2 times, most recently from 1fc7490 to 2e31985 Compare May 11, 2024 07:55
@dukelec
dukelec force-pushed the master branch 3 times, most recently from a9a9403 to 1ccec8a Compare November 15, 2024 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant