Ahmed Ejaz
0fa67c69fd
Remove bulk product update functionality
...
Removes the bulk product update feature and its associated components:
- Removes Angular-based bulk product editing controller and views
- Deletes bulk product API endpoints and related controller actions
- Removes product cloning and variant deletion functionality
- Removes associated JavaScript tests and specs
This appears to be part of a larger effort to modernize/simplify the product management interface, removing legacy Angular-based bulk editing in favor of a different approach.
2025-07-27 06:03:14 +05:00
Maikel Linke
be98544537
Remove unused AngularJS service KeyValueMapStore
2025-01-02 15:19:55 +11:00
Gaetan Craig-Riou
8ec1f61cd7
Fix legacy bulk edit product system spec
2024-10-14 15:01:18 +11:00
Gaetan Craig-Riou
cd74a73680
Consolidate angular option value namer spec
...
Merge the two spec files into the correct one.
2024-10-14 15:01:18 +11:00
Gaetan Craig-Riou
36c4d24c93
Fix angular option value namer
2024-10-14 15:01:18 +11:00
Gaetan Craig-Riou
b156f722f1
Fix variant override spec
2024-07-03 11:15:10 +10:00
David Cook
b872d7c308
Re-arrange spec
...
Best viewed with white-space ignored
2023-11-13 09:29:31 +01:00
Mohamed ABDELLANI
72d854487a
update VariantUnitManager#compatibleUnitScales to return units that are selected
2023-11-13 09:29:31 +01:00
Mohamed ABDELLANI
864f63b7b0
update VariantUnitManger specs
2023-11-13 09:29:31 +01:00
saunmanoj888
490c5afc59
Mock bigDecimal methods in specs
2022-10-25 00:05:31 +05:30
saunmanoj888
ee8454bd2c
Use js-big-decimal package for calculation
2022-10-21 21:30:00 +05:30
saunmanoj888
8e45b758ba
Fix unit value UI issue
2022-10-19 22:59:28 +05:30
Jean-Baptiste Bellet
adcdca812d
Delete that getScale method which is now useless
...
since we now rely on the serialized variant_unit_scale
2022-03-08 14:58:34 +01:00
Jean-Baptiste Bellet
d4435b5f10
Update variant_unit_manager_spec.js.coffee
2022-01-07 10:32:46 +01:00
Jean-Baptiste Bellet
3922ffa6a9
Handle imperial units for VariantUnitManager
2022-01-07 10:32:45 +01:00
Jean-Baptiste Bellet
ba09618374
Avoid rounded with float numbers errors with javascript
...
0.7/0.001 = 699.9999999999999
Use Math.round() to avoid this.
2021-09-14 10:45:31 +02:00
Jean-Baptiste Bellet
7008b5ec7b
Make a more generic solution: KeyValueMapStore
...
- As QueryPersistence, stored in the localStorage too but it is now more generic and has nothing to do with Query
- Add some js unit testing
2021-05-31 10:44:21 +02:00
Andy Brett
5a19a14042
rename to v0
2021-03-27 11:21:18 -07:00
Andy Brett
9bf84bd5a8
provide default availableUnits to specs
2020-10-29 09:18:24 -07:00
Andy Brett
3ead050a56
provide availableUnits to VariantUnitManager spec
2020-10-29 09:18:24 -07:00
Andy Brett
402fc902ff
remove non-default units from expected options array
2020-10-29 09:17:49 -07:00
Matt-Yorkley
77eaebc2a7
Merge pull request #5888 from andrewpbrett/imperial-auto-units
...
Allow US units on products/variants
2020-09-17 15:04:15 +02:00
Andy Brett
55e448897f
use fewer sigfigs for ounces; add spec to option_value_namer
2020-09-03 09:11:00 -07:00
Andy Brett
08e6e5a459
add compatibleUnitScales function and spec
2020-09-03 09:11:00 -07:00
Andy Brett
2f216039ac
update variantunitmanager test expectation
2020-09-03 09:11:00 -07:00
Gaetan Riou
6564ea7b00
rename ProductFiltersService to ProductFiltersUrl
2020-08-21 12:13:16 +10:00
Gaetan Riou
7356d0fe77
move url filter functionality to service ProductFiltersService
2020-08-21 10:42:02 +10:00
Matt-Yorkley
4a0df684c7
Adjust specs
2019-09-02 11:56:00 +01:00
luisramos0
4a44454210
fixed number rounding issue in product bulk edit
2018-07-16 13:13:58 +10:00
Em-AK
31f2551116
Update the JS unit spec to the new endpoint
2017-09-08 23:55:49 +10:00
Rob Harrington
38e37a4dfa
Using new jasmine2 syntax in variant override spec
2016-05-27 16:25:10 +10:00
Rob Harrington
3f8420b0e9
Adding tags to variant overrides
2016-05-27 16:23:26 +10:00
Rob Harrington
7a498362b3
Upgrading AngularJS specs to Jasmine 2 syntax
2016-05-25 08:10:20 +10:00
Rob Harrington
3f466e86b6
Renaming 'Override Variant Details' permission to 'Add Products To Inventory'
...
Style changes to make enterprise relationships page more useable
2016-03-02 12:10:49 +11:00
Rob Harrington
669642292b
Refactoring VariantOverridesController#bulk_reset to only reset VOs for a specified hub
2016-01-15 09:07:51 +11:00
Rob Harrington
0bbae19b41
Variant Overrides Index: User can manually reset inheritance
2016-01-15 09:07:51 +11:00
Steve Pettitt
e423e890e0
Changed name enable_reset to resettable in Variant Overrides table & updated views, specs accordingly
2016-01-15 09:07:50 +11:00
Steve Pettitt
34c603a9c3
Added angular service tests for variant overrides stock reset
2016-01-15 09:07:48 +11:00
Rob Harrington
4237a83028
Moving components required for variant overrides into appropriate modules
2016-01-13 18:49:32 +11:00
Maikel Linke
ced254919a
Updating JS spec
2015-08-27 14:54:46 +10:00
Maikel Linke
de1971072e
update relationship js spec
2015-06-12 17:09:04 +10:00
Maikel Linke
6b956a8a38
Updating product clone spec
2015-05-20 10:19:37 +10:00
Maikel Linke
993183f2f5
updating js spec: cloning product calls insertProductAfter now
2015-05-01 15:04:12 +10:00
Rohan Mitchell
7ac888ae00
Admin can grant create_variant_overrides permission
2015-01-30 11:56:05 +11:00
Rohan Mitchell
a93a824b83
Admin can grant permission for an enterprise to edit the profile of another
2015-01-15 13:43:38 +11:00
Rohan Mitchell
84b607433c
Creating and then updating the new override updates the same override instead of creating a duplicate
2014-12-12 13:33:14 +11:00
Rohan Mitchell
47592cdbd8
Submit variant overrides to server
2014-12-12 13:33:13 +11:00
Rohan Mitchell
c62ce57e0f
Display count of dirty variant overrides
2014-12-12 13:33:13 +11:00
Rohan Mitchell
a1fc4dec43
Updating variant overrides stores dirty values
2014-12-12 13:33:13 +11:00
Rohan Mitchell
abf58c0e02
Provide blank values for all variant overrides
2014-12-12 13:33:13 +11:00