This commit is contained in:
Mr. Stallion 2020-03-17 13:06:08 -05:00
parent a884f528de
commit cd77ece220
3 changed files with 11 additions and 7 deletions

View File

@ -7,7 +7,9 @@
<div class="row ad-viewer" ref="pageBody">
<template v-for="message in messages">
<h3>#{{message.channelName}} <span class="message-time">{{formatTime(message.datePosted)}}</span></h3>
<div v-bbcode="message.message" class="border-bottom"></div>
<div class="border-bottom">
<bbcode :text="message.message"></bbcode>
</div>
</template>
</div>
@ -26,9 +28,10 @@ import { AdCachedPosting } from '../../learn/ad-cache';
import core from '../core';
import {formatTime} from '../common';
import UserView from '../UserView.vue';
import { BBCodeView } from '../../bbcode/view';
@Component({
components: {modal: Modal, user: UserView}
components: {modal: Modal, user: UserView, bbcode: BBCodeView(core.bbCodeParser)}
})
export default class AdView extends CustomDialog {
@Prop({required: true})

View File

@ -213,6 +213,8 @@ export class CacheManager {
const message = data.message;
const channel = data.channel;
console.log('CHANNEL AD', data);
this.adCache.register(
{
name: message.sender.name,

View File

@ -70,16 +70,15 @@ This repository contains a heavily customized version of the mainline F-Chat 3.0
* Collect data on ads / responses to determine which ads work best
* Preview mode should allow detaching from the main window
* Split chat view
* Split chat view / separate window for specific chats?
* Improve log browsing
* Reposition ad settings and toggle
* Save character's status messages
* Conversation bot API
* Filter unmatching ads is not channel specific -- it's either on everywhere or nowhere
* Fix e621 URLs
* 'Filter unmatching ads' is not channel specific -- it's either on everywhere or nowhere
* AD UI Cleanup / hide to popovers
* Reset preview mode
* Better image fitting & loading animation
* image loading animation
* Ad cache is broken
# F-List Exported