langflow icon indicating copy to clipboard operation
langflow copied to clipboard

refactor(components): Rename StoreMessage to MessageStore for Better Clarity

Open Vigtu opened this issue 1 year ago • 2 comments

Changes in Message Store Component:

Component Rename:

  1. StoreMessage -> MessageStore:
  • Renamed class from StoreMessageComponent to MessageStoreComponent
  • Updated display name to "Message Store"
  • Changed icon from "save" to "message-square-text"
  • Updated component name to "MessageStore"

Output Configuration:

  • Added hidden=True to stored_messages output

Import Updates:

  • Updated import in init.py:
    • store_message -> message_store
    • StoreMessageComponent -> MessageStoreComponent

File Rename:

  • store_message.py -> message_store.py

No Functional Changes:

  • Core functionality remains the same
  • Only naming and cosmetic changes applied
  • Component description maintained

Vigtu avatar Dec 02 '24 20:12 Vigtu

@Vigtu same for this one, if you don't mind fixing the merge conflict i'll do a review!

erichare avatar Dec 06 '24 19:12 erichare

CodSpeed Performance Report

Merging #5009 will degrade performances by 23.25%

Comparing Vigtu:store-message-component (1489ea0) with main (b692ef7)

Summary

⚡ 3 improvements
❌ 1 regressions
✅ 11 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main Vigtu:store-message-component Change
test_get_and_cache_all_types_dict 1,043.8 µs 844.8 µs +23.56%
test_successful_run_with_input_type_any 258.1 ms 163.1 ms +58.18%
test_successful_run_with_output_type_any 177.2 ms 230.9 ms -23.25%
test_successful_run_with_output_type_debug 249.9 ms 160.4 ms +55.85%

codspeed-hq[bot] avatar Dec 09 '24 21:12 codspeed-hq[bot]