Skip to content

Conversation

@PYRET1C
Copy link
Contributor

@PYRET1C PYRET1C commented Jan 7, 2024

There are some known issues right now like:

  1. the toggle notify button of wire does not work on the settings page
  2. there are duplicate notifications each time there is a update

if you find any other issue please let me know and also if you know how to resolve the above mentioned issues then also let me know.
Thanks and Regards

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Jan 7, 2024

@defnax Please review

@defnax
Copy link
Contributor

defnax commented Jan 7, 2024

Im not available, needs reviewed by @csoler

case RsWireEventCode::NEW_POST:
addFeedItem( new WireNotifyGroupItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, false, true));
break;
case RsWireEventCode::POST_UPDATED:
Copy link
Contributor

@defnax defnax Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im wondering why you added for every event a addfeeItem thats to much :)
maybe you need only when a

NEW_WIRE (a new user joind to wire)
NEW_POST (user posted a tweet )
NEW_REPLY (replied/commented to a post)
NEW_REPUBLISH ( a user republished a tweet)

this i think not needed as feed notify
NEW_LIKE ( maybe notify this only on wire button count and in wiredialog)
WIRE_UPDATED (this not needs notify as feeditem, its i think for internaly update the wire user list when im right)
POST_UPDATED (this not needs a notify as feeditem, its for update the posts when there is new posts or when im right)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea you are right i will only add for the 4 items you said.
the WIRE_UPDATED is the one where someone changes their profile photo or the tagline.
the POST_UPDATED is the one where someone updates their old post.

@defnax
Copy link
Contributor

defnax commented Jan 12, 2024

you need to remove this, then the two double notiy is gone

    case RsWireEventCode::WIRE_UPDATED:
        addFeedItem( new WireNotifyGroupItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, false, true));
        break;
    case RsWireEventCode::POST_UPDATED:
        addFeedItem( new WireNotifyGroupItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, false, true));
        break;

for the NEW_LIKE notify you need implement a different notify without feeditems

@defnax
Copy link
Contributor

defnax commented Jan 12, 2024

notify for NEW_POST, NEW_REPLY, NEW_REPUBLISH works but shows all the same empty content.
i dont know if you want create for every wire feeditems own method or new ui for new post, reply or republish.

the NEW_WIRE not works, when i created a new wire account i doesnt get any notify in activity

@defnax
Copy link
Contributor

defnax commented Jan 12, 2024

In the Wiredialog i doesnt see yet any notify what is new, seems you added more activity feed notify

@defnax
Copy link
Contributor

defnax commented Jan 12, 2024

  • the toggle notify button of wire does not work on the settings page

seems used wrong values for me it works with this

#ifdef RS_USE_WIRE
const uint32_t RS_FEED_TYPE_WIRE  = 0x8000;
#endif

return true ;
default:

#ifdef RS_USE_WIRE
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea, i missed that, i will correct it.

@defnax
Copy link
Contributor

defnax commented Feb 11, 2024

@PYRET1C any news?

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Feb 12, 2024 via email

@defnax
Copy link
Contributor

defnax commented Feb 25, 2024

hi any updates? i see not more online in rs @PYRET1C

@defnax
Copy link
Contributor

defnax commented Feb 27, 2024

@PYRET1C this week you will push your changes?

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Feb 28, 2024 via email

@defnax
Copy link
Contributor

defnax commented Feb 28, 2024

normaly best is step by step small improvements, you doing big things at the same time?
best come online in retroshare and ask cyril.
without the latest code not easy to know what happening

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Feb 28, 2024

yes you are right, i thought it was a small addition, but it turned out a bit big than i expected. i will push the code as soon as possible.

@defnax
Copy link
Contributor

defnax commented Feb 28, 2024

i prever small prs, and not work few weeks on a big code changes.
i do mostly small prs, i know your changes is big on wire

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Feb 29, 2024

Yeah, this time i under estimated the code development. my bad

@defnax
Copy link
Contributor

defnax commented Mar 4, 2024

when comes the updates? cant wait :D

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 5, 2024

@defnax Hello, this is the issue i am facing while compilation:

D:/new/RetroShare/retroshare-gui/src/gui/feeds/WireNotifyPostItem.h:29:7: note: forward declaration of
class Ui::WireNotifyPostItem'
29 | class WireNotifyPostItem;
| ^~~~~~~~~~~~~~~~~~
D:/new/RetroShare/retroshare-gui/src/gui/feeds/WireNotifyPostItem.cpp:476:11: error: invalid use of incomplete type 'class Ui::WireNotifyPostItem'
476 | ui->expandButton->setToolTip(tr("Hide"));
| ^~
D:/new/RetroShare/retroshare-gui/src/gui/feeds/WireNotifyPostItem.h:29:7: note: forward declaration of
class Ui::WireNotifyPostItem'
29 | class WireNotifyPostItem;
| ^~~~~~~~~~~~~~~~~~
D:/new/RetroShare/retroshare-gui/src/gui/feeds/WireNotifyPostItem.cpp:482:11: error: invalid use of incomplete type 'class Ui::WireNotifyPostItem'
482 | ui->expandFrame->hide();
| ^~
D:/new/RetroShare/retroshare-gui/src/gui/feeds/WireNotifyPostItem.h:29:7: note: forward declaration of
class Ui::WireNotifyPostItem'
29 | class WireNotifyPostItem;
| ^~~~~~~~~~~~~~~~~~
D:/new/RetroShare/retroshare-gui/src/gui/feeds/WireNotifyPostItem.cpp:483:11: error: invalid use of incomplete type 'class Ui::WireNotifyPostItem'
483 | ui->expandButton->setIcon(FilesDefs::getIconFromQtResourcePath(QString(":/icons/png/down-arrow.png")));
| ^~
D:/new/RetroShare/retroshare-gui/src/gui/feeds/WireNotifyPostItem.h:29:7: note: forward declaration of
class Ui::WireNotifyPostItem'
29 | class WireNotifyPostItem;
| ^~~~~~~~~~~~~~~~~~
D:/new/RetroShare/retroshare-gui/src/gui/feeds/WireNotifyPostItem.cpp:484:11: error: invalid use of incomplete type 'class Ui::WireNotifyPostItem'
484 | ui->expandButton->setToolTip(tr("Expand"));
| ^~
D:/new/RetroShare/retroshare-gui/src/gui/feeds/WireNotifyPostItem.h:29:7: note: forward declaration of
class Ui::WireNotifyPostItem'
29 | class WireNotifyPostItem;
| ^~~~~~~~~~~~~~~~~~

@defnax
Copy link
Contributor

defnax commented Mar 5, 2024

I can test this weekend when get time

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 6, 2024

it won't compile first we need to decode that

@defnax
Copy link
Contributor

defnax commented Mar 6, 2024

witthout compiling i see one possible mistake here
classname wrong in ui file
image
fix this and hope its solved then

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 6, 2024

yea i will fix it and test tonight

@defnax
Copy link
Contributor

defnax commented Mar 6, 2024

i get compiled the WireNotifyPostItem class, only there is some little issues i commented it out.
seems copy of GxsChannelPostItem :)
please commit the fixes before you continoue then people cant test this pr

@defnax
Copy link
Contributor

defnax commented Mar 8, 2024

i tested last night seems notify not really finished.
i see only dummy notify (NEW WIRE) in activities and count on wire button

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 29, 2024

pushing in few minutes

@defnax
Copy link
Contributor

defnax commented Mar 30, 2024

not had time to test, but seems the notify feeds ,when you can finish it?
notifygroupitem and notifypostitem, always dummy feed
that needs to be finished first

@defnax
Copy link
Contributor

defnax commented Mar 30, 2024

seems you removed the soure file from the ui file
WireNotifyPostItem.ui

 <resources>
  <include location="../icons.qrc"/>
 </resources>

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 30, 2024

which source file

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 30, 2024

yes we fix the dummy feed issue, but first let's complete the notify issue.

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 30, 2024

then we can add ui

@defnax
Copy link
Contributor

defnax commented Mar 30, 2024

WireNotifyPostItem.ui

when you look into the .ui file the resource was maybe removed by mistake
in WireNotifyPostItem.ui

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 30, 2024

is it causing any problem?

@defnax
Copy link
Contributor

defnax commented Mar 30, 2024

is it causing any problem?

no problem but icons will be not shown then on that ui

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 30, 2024

i will check it. till then
can you please test the rest.

@defnax
Copy link
Contributor

defnax commented Mar 30, 2024

i can test tonight im on work

@defnax
Copy link
Contributor

defnax commented Mar 30, 2024

there is same bug, the wire notify copies the last count somewhere from boards notify you forget something rename?
you need subscribe a board and whem you has counts it has same from boards on restart
image

then last count from wire never gets read
image

i has same count since last week

@defnax
Copy link
Contributor

defnax commented Mar 30, 2024

read the wire post feed not working on WireNotifyPostItem class
connect(ui->readAndClearButton, SIGNAL(clicked()), this, SLOT(readAndClearItem()));

image

seems you hasnt implemented yet?

void GxsChannelPostItem::readAndClearItem()
{
#ifdef DEBUG_ITEM
	std::cerr << "GxsChannelPostItem::readAndClearItem()";
	std::cerr << std::endl;
#endif
	readToggled(false);
	removeItem();
}

@defnax
Copy link
Contributor

defnax commented Mar 31, 2024

Or maybe the new wire notify doesnt need it (the read button) maybe im wrong?

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Mar 31, 2024

i thought i removed it, we can add it in later updates. can you please make a list of current issues you observed in the latest commit. it will help a lot

@defnax
Copy link
Contributor

defnax commented Mar 31, 2024

i see no new issue same like before,
i think there is no real place read all post from notify, not implemented yet or?
i think the read state never cleard

@defnax
Copy link
Contributor

defnax commented Mar 31, 2024

this i think wrong, it must be use notifypostitem

case RsWireEventCode::NEW_POST:
    addFeedItem( new WireNotifyGroupItem(this, NEWSFEED_WIRELIST, pe->mWireGroupId, false, true));
    break;

@defnax
Copy link
Contributor

defnax commented Mar 31, 2024

notify is working on read/clean is missed that will take some time too to implement or

@defnax
Copy link
Contributor

defnax commented Mar 31, 2024

i doesnt get worked following notify, i unfollowed and followed back no success,
and seems wire every account uses same follower list

post, reply, like and republish works without issues

@defnax
Copy link
Contributor

defnax commented Apr 11, 2024

hi any news it will be this summer finished?

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Apr 13, 2024

i hope so. i am trying to finish it as soon as possible.

@defnax
Copy link
Contributor

defnax commented Apr 24, 2024

hello what happend, any updates? please post your update to rs dev chat too

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Apr 24, 2024

I am a bit busy in this week. so no progress has been made. also i have a question is Retro share on ubuntu 22.04?

@defnax
Copy link
Contributor

defnax commented Apr 24, 2024

Hi, you know this place not right?
You need start retroshare and ask there in dev chat or dev forumy there listing lots of testers and some devs
Here only me alone

@PYRET1C
Copy link
Contributor Author

PYRET1C commented Apr 25, 2024

yes, i know. i changed my PC and tried installing Retroshare and it is not working on ubuntu 22.04 that is why i asked

@defnax
Copy link
Contributor

defnax commented Aug 26, 2024

@PYRET1C you will finish it this year?

@defnax defnax mentioned this pull request Mar 12, 2025
This was referenced Dec 8, 2025
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.

2 participants